summaryrefslogtreecommitdiff
path: root/make/template/inspircd.service
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-11-30 16:17:32 +0000
committerPeter Powell <petpow@saberuk.com>2019-11-30 16:17:32 +0000
commitcad88bcffb845801476bfae0ed6751513fa76c78 (patch)
tree20bea2d3ab0a2596c30581d7d250bbb4ebcd2060 /make/template/inspircd.service
parent694c121908d80844a679bbbdf875c639627ec73c (diff)
Use network-online instead of network in the systemd service.
As recommended at https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/. Closes #1729.
Diffstat (limited to 'make/template/inspircd.service')
-rw-r--r--make/template/inspircd.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/template/inspircd.service b/make/template/inspircd.service
index e29aa593f..4f4e428b3 100644
--- a/make/template/inspircd.service
+++ b/make/template/inspircd.service
@@ -21,7 +21,8 @@
[Unit]
After=network.target
Description=InspIRCd - Internet Relay Chat Daemon
-Requires=network.target
+After=network-online.target
+Wants=network-online.target
[Service]
ExecReload=@SCRIPT_DIR@/inspircd rehash