During shutdown, this will keep Nebula alive until after sshd is finished. This cleanly terminates ssh clients accessing a server over a Nebula tunnel.
@@ -2,6 +2,7 @@
Description=nebula
Wants=basic.target
After=basic.target network.target
+Before=sshd.service
[Service]
SyslogIdentifier=nebula