Systemd should start runit after the network is UP

This commit is contained in:
Monocots 2019-09-11 09:49:00 +00:00
parent 5f7a942782
commit f892dd4254
2 changed files with 20 additions and 0 deletions

View 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