/etc/init.d/dotdee is in dotdee 1.12-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #!/bin/sh
# Start/stop dotdee daemon
# chkconfig: 2345 60 80
### BEGIN INIT INFO
# Provides: dotdee
# Required-Start: $local_fs
# Required-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Converting a flatfile into a dynamically generated file.
# Description: It is generated from a .d directory.
### END INIT INFO
# Get LSB functions
. /lib/lsb/init-functions
case "$1" in
start)
echo "Starting dotdee..."
[ -f /etc/default/dotdee ] && . /etc/default/dotdee
if [ "$INOTIFY" = "1" ]; then
exec iwatch -f /etc/dotdee.xml -p /var/run/dotdee.pid
fi
;;
reload)
echo "Reloading dotdee..."
# start-stop-daemon --stop --signal HUP -x dotdee --oknodo
;;
restart|force-reload)
$0 stop
$0 start
;;
stop)
# start-stop-daemon --stop -x dotdee --oknodo
;;
*)
echo "Usage: $0 start|stop|restart" >&2
exit 3
;;
esac
|