[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init scripts [was: If Not Systemd, then What?]





Show us where Debian is using the file shipped by upstream.

dpkg -l | grep xymon
ii xymon-client 4.3.17-4 amd64 client for the Xymon network monitor 17:25:35 weezer:~/src/xymon-4.3.17$ diff /etc/init.d/xymon-client debian/xymon-client.init
3,4c3,4
< # xymon-client This shell script takes care of starting and stopping
< #                 the xymon client.
---
# xymonclient    This shell script takes care of starting and stopping
#                the Xymon client.
19c19
< NAME=xymon-client
---
NAME=xymonclient
29c29
< # Include xymon-client defaults if available
---
# Include xymonclient defaults if available
43,48d42
<
< if test "$TMPFSSIZE" && test -e /proc/mounts && ! grep -q /var/lib/xymon/tmp /proc/mounts; then
<               echo "Mounting tmpfs on /var/lib/xymon/tmp"
<               rm -f /var/lib/xymon/tmp/*
< mount -t tmpfs -o"size=$TMPFSSIZE,mode=755,uid=$(id -u xymon)" tmpfs /var/lib/xymon/tmp
<       fi

wc -l /etc/init.d/xymon-client
109 /etc/init.d/xymon-client


So the xymon-client package uses the init script from upstream, with some modifications (naturally).

Cheers

Iain


Reply to: