Hi,
In RHEL v7 we have new autostart manager - systemd.
I am trying to setup starting of CMOD library server in systemd - I checked lot of options and I did not succeeded.
Can You give me some advices to setup this?
CMOD library server is started in specific way - there is another process started in background.
Here:
https://www.freedesktop.org/wiki/Software/systemd/Incompatibilities/I found this information:
"If systemd doesn't know which PID is the main PID of a service, it will not be able to track its runtime, and hence a service exiting on its own will not make systemd consider it stopped. Use the Red Hat "pidfile:" syntax in the SysV script header comment block to let systemd know which PID file (and hence PID) belongs to your service. Note that systemd cannot know if a SysV service is one of the kind where the runtime is defined by a specific process or whether it is one where there is none, hence the requirement of explicit configuration of a PID file in order to make systemd track the process lifetime. (Note that the Red Hat "pidfile:" stanza may only appear once in init scripts.)"
Maybe this is a problem?
Regards
Rafal