Skip to content

Instantly share code, notes, and snippets.

@undirectlookable
Created November 25, 2022 13:56
Show Gist options
  • Save undirectlookable/55ca963bbffb146c78c101025448c309 to your computer and use it in GitHub Desktop.
Save undirectlookable/55ca963bbffb146c78c101025448c309 to your computer and use it in GitHub Desktop.
nebula serivce systemd script
[Unit]
Description=nebula for %i
Wants=basic.target
After=basic.target network.target
Before=sshd.service
[Service]
SyslogIdentifier=nebula(%i)
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/usr/local/bin/nebula -config /etc/nebula/%i.yml
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment