Browse Source

Added line to systemd config template to start Nebula before sshd (#317)

During shutdown, this will keep Nebula alive until after sshd is finished. This cleanly terminates ssh clients accessing a server over a Nebula tunnel.
Brian Kelly 4 years ago
parent
commit
5c23676a0f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/service_scripts/nebula.service

+ 1 - 0
examples/service_scripts/nebula.service

@@ -2,6 +2,7 @@
 Description=nebula
 Description=nebula
 Wants=basic.target
 Wants=basic.target
 After=basic.target network.target
 After=basic.target network.target
+Before=sshd.service
 
 
 [Service]
 [Service]
 SyslogIdentifier=nebula
 SyslogIdentifier=nebula