start-stop-daemon --exec on debian-live
- Subject: start-stop-daemon --exec on debian-live
- From: tzafrir.cohen at xorcom.com (Tzafrir Cohen)
- Date: Sun, 16 Sep 2007 06:49:07 +0200
- Message-id: <20070916044905.GG2560@xorcom.com>
I noticed that on several services start-stop-daemon will fail to
stop / restart because it looks for a specific binary.
For instance, I'm playing with monit. The init.d script uses
start-stop-daemon --exec for both the start and the stop targets.
In the stop target this badly fails, as the executable of the process
is called /filesystem.squashfs/usr/sbin/monit rather than
/usr/sbin/monit that the init.d script expects.
Short of patching individual scripts to rely on the PID file alone,
do you have any smarter suggestion?
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir