some servers may not have a pid file need option to not hook them to watchdog
mldonkey as a server, however, it does not seem to create a pid file.
there are probably more like that and we ought to consider making an option to not hook a server to monit, the watchdog.
#2 Updated by gboudreau over 10 years ago
It (CrashPlan) does have one, not just where the default monitd config file expects it to be.
Starting the service creates a pid file here: /usr/local/crashplan/CrashPlanEngine.pid
Since I can't specify a custom pid file in the app packaging, I created a symlink to the pid file in the RPM, so monitd would work:
ln -s /usr/local/crashplan/CrashPlanEngine.pid /var/run/crashplan.pid
Would be better if I could specify where the pid file lives when packaging the app.
#3 Updated by dforbes about 10 years ago
Is the above symlink still in the RPM? I can't see it on either my test system or my production box.
While not terribly clean, /usr/local/crashplan/bin/CrashPlanEngine has:
I've edited to PIDFILE="/var/run/crashplan.pid" and can confirm that this works. DF
Also available in: Atom