소스 검색

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