2
# Start/stop dotdee daemon
3
# chkconfig: 2345 60 80
7
# Required-Start: $local_fs
8
# Required-Stop: $local_fs
9
# Default-Start: 2 3 4 5
11
# Short-Description: Converting a flatfile into a dynamically generated file.
12
# Description: It is generated from a .d directory.
16
. /lib/lsb/init-functions
20
echo "Starting dotdee..."
21
[ -f /etc/default/dotdee ] && . /etc/default/dotdee
22
if [ "$INOTIFY" = "1" ]; then
23
exec iwatch -f /etc/dotdee.xml -p /var/run/dotdee.pid
27
echo "Reloading dotdee..."
28
# start-stop-daemon --stop --signal HUP -x dotdee --oknodo
35
# start-stop-daemon --stop -x dotdee --oknodo
38
echo "Usage: $0 start|stop|restart" >&2