File: sample.service

package info (click to toggle)
golang-github-okzk-sdnotify 0.0~git20180710.d9becc3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 84 kB
  • sloc: makefile: 3
file content (13 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=sample

[Service]
Type=notify
ExecStart=/path/to/sample
ExecStop=/bin/kill -SIGTERM $MAINPID
ExecReload=/bin/kill -SIGHUP $MAINPID
WatchdogSec=60s
Restart=on-failure

[Install]
WantedBy = multi-user.target