op 03-06-14 15:45, A. Fortuny schreef:
Yesy it does.
AT the same time I have to apologize. After re-creating the service
script from the original /etc/init.d/skeleton,
- changing the first line as a /bin/bash script
- adapt the comments in the INIT INFO about the service name
- change the service binary program
- change the conf file name
- add the -r to the launching of the service binary file
everything runs OK;
I did forget to register the service (chkconfig) and to reload
(systemctl --system daemon-reload)
Sorry for the annoyance and thanks anyway.


Beware ! Newer distro's use systemd. While I think the /etc/init.d scripts will still be supported for a while, eventually they will not run anymore.

I need to study systemd, because I also do have a daemon made with fpc and started with an init.d-script.

Koenraad


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to