Systemd should start runit after the network is UP
This commit is contained in:
parent
5f7a942782
commit
f892dd4254
2 changed files with 20 additions and 0 deletions
14
modules/rhizo_base/files/systemd/runit.service
Normal file
14
modules/rhizo_base/files/systemd/runit.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Runit service supervision
|
||||
Documentation=http://smarden.org/runit/
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/etc/runit/2
|
||||
KillSignal=SIGHUP
|
||||
KillMode=process
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue