diff options
author | Peter Powell <petpow@saberuk.com> | 2019-11-30 16:17:32 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-11-30 16:17:32 +0000 |
commit | cad88bcffb845801476bfae0ed6751513fa76c78 (patch) | |
tree | 20bea2d3ab0a2596c30581d7d250bbb4ebcd2060 | |
parent | 694c121908d80844a679bbbdf875c639627ec73c (diff) |
Use network-online instead of network in the systemd service.
As recommended at https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/.
Closes #1729.
-rw-r--r-- | make/template/inspircd.service | 3 |
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 |