mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Switch systemd service to be non-forking & avoid using the helper.
This commit is contained in:
parent
f953c431d5
commit
5d8dc98dfa
@ -27,12 +27,10 @@ After=network-online.target
|
|||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecReload=@SCRIPT_DIR@/inspircd rehash
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
ExecStart=@SCRIPT_DIR@/inspircd start
|
ExecStart=@BINARY_DIR@/inspircd --nofork --nopid
|
||||||
ExecStop=@SCRIPT_DIR@/inspircd stop
|
|
||||||
PIDFile=@DATA_DIR@/inspircd.pid
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
Type=forking
|
Type=simple
|
||||||
User=@USER@
|
User=@USER@
|
||||||
Group=@GROUP@
|
Group=@GROUP@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user