update systemd units with examples from repo
This commit is contained in:
committed by
Andrew Paglusch
parent
63712024ba
commit
68d04e63c3
@@ -1,12 +1,13 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Nebula Lighthouse
|
Description=Nebula overlay networking tool - Lighthouse
|
||||||
Wants=basic.target
|
Wants=basic.target network-online.target nss-lookup.target time-sync.target
|
||||||
After=basic.target network.target
|
After=basic.target network.target network-online.target
|
||||||
|
Before=sshd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
NotifyAccess=main
|
||||||
SyslogIdentifier=nebula
|
SyslogIdentifier=nebula
|
||||||
StandardOutput=syslog
|
|
||||||
StandardError=syslog
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
ExecStart=/opt/nebula/nebula -config /opt/nebula/config.yml
|
ExecStart=/opt/nebula/nebula -config /opt/nebula/config.yml
|
||||||
Restart=always
|
Restart=always
|
||||||
@@ -14,3 +15,4 @@ RestartSec=42s
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=nebula
|
Description=Nebula overlay networking tool
|
||||||
Wants=basic.target
|
Wants=basic.target network-online.target nss-lookup.target time-sync.target
|
||||||
After=basic.target network.target
|
After=basic.target network.target network-online.target
|
||||||
|
Before=sshd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
NotifyAccess=main
|
||||||
SyslogIdentifier=nebula
|
SyslogIdentifier=nebula
|
||||||
StandardOutput=syslog
|
|
||||||
StandardError=syslog
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
ExecStart=/opt/nebula/nebula -config /opt/nebula/config.yml
|
ExecStart=/opt/nebula/nebula -config /opt/nebula/config.yml
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|||||||
Reference in New Issue
Block a user