Add nss-lookup to the systemd wants (#791)

* Add nss-lookup to the systemd wants to ensure DNS is running before starting nebula

* Add Ansible & example service scripts

* Fix #797

* Align Ansible scripts and examples

Co-authored-by: John Maguire <contact@johnmaguire.me>
This commit is contained in:
Fabio Alessandro Locati
2022-12-19 20:42:07 +01:00
committed by GitHub
parent cb2ec861ea
commit 3ae242fa5f
4 changed files with 11 additions and 11 deletions

View File

@@ -1,7 +1,8 @@
[Unit]
Description=nebula
Wants=basic.target
After=basic.target network.target
Description=Nebula overlay networking tool
Wants=basic.target network-online.target nss-lookup.target time-sync.target
After=basic.target network.target network-online.target
Before=sshd.service
[Service]
SyslogIdentifier=nebula