Codebase list ps-watcher / a009193
Adding unitfile Jan Wagner 1 year, 3 months ago
2 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6262 dh_installdocs
6363 dh_installexamples samples/*
6464 dh_installinit -- defaults 99 01
65 dh_installsystemd --no-enable
6566 dh_link
6667 dh_compress
6768 dh_fixperms
0 [Unit]
1 Description=monitoring a system via ps-like commands
2
3 [Service]
4 Environment=PIDFILE=/var/run/ps-watcher.pid
5 EnvironmentFile=-/etc/default/ps-watcher
6 ExecStart=/usr/sbin/ps-watcher -c $CONFIG --daemon $DAEMON_OPTS
7 ExecReload=/bin/kill -HUP $MAINPID
8 KillMode=process
9 Restart=on-failure
10 Type=notify
11
12 [Install]
13 WantedBy=multi-user.target