Switch systemd service to be non-forking & avoid using the helper.

This commit is contained in:
Sadie Powell 2020-07-28 09:05:08 +01:00
parent f953c431d5
commit 5d8dc98dfa

View File

@ -27,12 +27,10 @@ After=network-online.target
Wants=network-online.target
[Service]
ExecReload=@SCRIPT_DIR@/inspircd rehash
ExecStart=@SCRIPT_DIR@/inspircd start
ExecStop=@SCRIPT_DIR@/inspircd stop
PIDFile=@DATA_DIR@/inspircd.pid
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=@BINARY_DIR@/inspircd --nofork --nopid
Restart=on-failure
Type=forking
Type=simple
User=@USER@
Group=@GROUP@