浏览代码

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 年之前
父节点
当前提交
5c23676a0f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/service_scripts/nebula.service

+ 1 - 0
examples/service_scripts/nebula.service

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