File: service

package info (click to toggle)
ps-watcher 1.08-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 772 kB
  • sloc: sh: 2,907; perl: 1,281; makefile: 104
file content (14 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=monitoring a system via ps-like commands

[Service]
Environment=PIDFILE=/var/run/ps-watcher.pid
EnvironmentFile=-/etc/default/ps-watcher
ExecStart=/usr/sbin/ps-watcher -c $CONFIG --daemon $DAEMON_OPTS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
Type=notify

[Install]
WantedBy=multi-user.target