update systemd units with examples from repo

This commit is contained in:
AndrewPaglusch
2023-12-08 21:18:11 -06:00
committed by Andrew Paglusch
parent 63712024ba
commit 68d04e63c3
2 changed files with 13 additions and 10 deletions

View File

@@ -1,12 +1,13 @@
[Unit]
Description=nebula
Wants=basic.target
After=basic.target network.target
Description=Nebula overlay networking tool
Wants=basic.target network-online.target nss-lookup.target time-sync.target
After=basic.target network.target network-online.target
Before=sshd.service
[Service]
Type=notify
NotifyAccess=main
SyslogIdentifier=nebula
StandardOutput=syslog
StandardError=syslog
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/opt/nebula/nebula -config /opt/nebula/config.yml
Restart=always