summarylogtreecommitdiffstats
path: root/runit.service
blob: 01f370264082db97d8337019e5af1cfda1ae4278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Runit service supervision
Documentation=http://smarden.org/runit/

[Service]
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/bin"
ExecStart=/usr/bin/runsvdir -P /var/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
KillSignal=SIGHUP
KillMode=process
Restart=always
SuccessExitStatus=111

[Install]
WantedBy=multi-user.target