rclone/vendor/github.com/okzk/sdnotify/sample/sample.service

12 lines
190 B
SYSTEMD
Raw Normal View History

2017-11-19 23:03:27 +01:00
[Unit]
Description=sample
[Service]
Type=notify
ExecStart=/path/to/sample
ExecStop=/bin/kill -SIGTERM $MAINPID
ExecReload=/bin/kill -SIGHUP $MAINPID
[Install]
WantedBy = multi-user.target