Explorar el Código

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 hace 5 años
padre
commit
5c23676a0f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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