On 3 Jan 2001, Goswin Brederlow wrote: > set -e > > test -x /usr/sbin/debian-mirror || exit 0 > > touch /var/run/debian-mirror.pid > chown mirror.nogroup /var/run/debian-mirror.pid > > touch /var/log/debian-mirror.log > chown mirror.nogroup /var/log/debian-mirror.log > > start-stop-daemon -S -m -c mirror:nogroup -u mirror -p > /var/run/debian-mirror.pid -x /usr/sbin/debian-mirror > >>/var/log/debian-mirror.log & > ----------------------------------------------------------------------
-x|--exec <executable> program to start/check if it is running sh is the executable, not /usr/sbin/debian-mirror. ----BEGIN GEEK CODE BLOCK---- Version: 3.12 GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS-- PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z? -----END GEEK CODE BLOCK----- ----BEGIN PGP INFO---- Adam Heath <[EMAIL PROTECTED]> Finger Print | KeyID 67 01 42 93 CA 37 FB 1E 63 C9 80 1D 08 CF 84 0A | DE656B05 PGP AD46 C888 F587 F8A3 A6DA 3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG -----END PGP INFO-----