Debian Codegraph @

sample/sample.service

raw
1 [Unit]
2 Description=sample
3
4 [Service]
5 Type=notify
6 ExecStart=/path/to/sample
7 ExecStop=/bin/kill -SIGTERM $MAINPID
8 ExecReload=/bin/kill -SIGHUP $MAINPID
9 WatchdogSec=60s
10 Restart=on-failure
11
12 [Install]
13 WantedBy = multi-user.target