[Unit]
Description=realtime filesystem monitoring program using inotify
Documentation=man:iwatch
After=network.target remote-fs.target

[Service]
EnvironmentFile=/etc/default/iwatch
ExecStart=/usr/bin/iwatch -f $CONFIG_FILE -p /var/run/iwatch.pid -d
ExecReload=/bin/kill -HUP $MAINPID
Type=forking
PIDFile=/var/run/iwatch.pid

[Install]
WantedBy=multi-user.target
