-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
cb2ec86
commit 3ae242f
Showing
4 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
[Unit] | ||
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 | ||
Wants=basic.target network-online.target | ||
|
||
[Service] | ||
SyslogIdentifier=nebula | ||
ExecReload=/bin/kill -HUP $MAINPID | ||
ExecStart=/usr/bin/nebula -config /etc/nebula/config.yml | ||
Restart=always | ||
SyslogIdentifier=nebula | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
7 changes: 4 additions & 3 deletions
7
examples/quickstart-vagrant/ansible/roles/nebula/files/systemd.nebula.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters