From b8babf2c43edd0f1ee2997125c6ea4cd21e15d68 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 21 Sep 2017 18:44:29 +0100 Subject: 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. --- make/template/inspircd.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'make/template/inspircd.service') 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 -- cgit v1.2.3