summaryrefslogtreecommitdiff
path: root/make/template/inspircd.service
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-09-21 18:44:29 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-21 20:49:49 +0100
commitb8babf2c43edd0f1ee2997125c6ea4cd21e15d68 (patch)
tree71ff647cf9515ff5ca9518cd2c37dc3c4314d67c /make/template/inspircd.service
parentca9a56b7ac0ec2139ade835144369455baa757bc (diff)
Move the init scripts out of the prefix into the new script dir.
The previous directory was okay for home directory installs but was problematic for system wide installs.
Diffstat (limited to 'make/template/inspircd.service')
-rw-r--r--make/template/inspircd.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/make/template/inspircd.service b/make/template/inspircd.service
index e5f28a674..c05e61822 100644
--- a/make/template/inspircd.service
+++ b/make/template/inspircd.service
@@ -24,9 +24,9 @@ Description=InspIRCd - Internet Relay Chat Daemon
Requires=network.target
[Service]
-ExecReload=@BASE_DIR@/inspircd rehash
-ExecStart=@BASE_DIR@/inspircd start
-ExecStop=@BASE_DIR@/inspircd stop
+ExecReload=@SCRIPT_DIR@/inspircd rehash
+ExecStart=@SCRIPT_DIR@/inspircd start
+ExecStop=@SCRIPT_DIR@/inspircd stop
PIDFile=@DATA_DIR@/inspircd.pid
Restart=on-failure
Type=forking