Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Moved systemd files from external git repo to template files. - Let start kea after postgres is started if leases backend is set to be psql
- Loading branch information
Showing
4 changed files
with
44 additions
and
28 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Kea DHCP-DDNS Server | ||
Documentation=man:kea-dhcp-ddns(8) | ||
Wants=network-online.target{% if kea.database.type == "postgresql" %} postgresql.service{% endif %} | ||
|
||
After=network-online.target time-sync.target{% if kea.database.type == "postgresql" %} postgresql.service{% endif %} | ||
|
||
|
||
[Service] | ||
ExecStart=/usr/local/sbin/kea-dhcp-ddns -c /etc/kea/kea.conf | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Kea DHCPv4 Server | ||
Documentation=man:kea-dhcp4(8) | ||
Wants=network-online.target{% if kea.database.type == "postgresql" %} postgresql.service{% endif %} | ||
|
||
After=network-online.target time-sync.target{% if kea.database.type == "postgresql" %} postgresql.service{% endif %} | ||
|
||
|
||
[Service] | ||
ExecStart=/usr/local/sbin/kea-dhcp4 -c /etc/kea/kea.conf | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Kea DHCPv6 Server | ||
Documentation=man:kea-dhcp6(8) | ||
Wants=network-online.target{% if kea.database.type == "postgresql" %} postgresql.service{% endif %} | ||
|
||
After=network-online.target time-sync.target{% if kea.database.type == "postgresql" %} postgresql.service{% endif %} | ||
|
||
|
||
[Service] | ||
ExecStart=/usr/local/sbin/kea-dhcp6 -c /etc/kea/kea.conf | ||
|
||
[Install] | ||
WantedBy=multi-user.target |