endless icon indicating copy to clipboard operation
endless copied to clipboard

can't work with systemd

Open jmhazty opened this issue 7 years ago • 2 comments

I use systemd to manage go app. config: ExecReload=/bin/kill -s HUP $MAINPID

Because of pid change, systemd think process failed, and use ExecStart to start process.But process was started by endless, systemd think process start failed.

How can I use endless with systemd?

jmhazty avatar Oct 11 '17 07:10 jmhazty

in your service/unit file, use the parameter

PIDFile=

and specify the path to the pid file

That will help systemd work with endless

fmpwizard avatar Oct 12 '17 19:10 fmpwizard