Remove unnecessary KillMode=process
It's unclear why this is the default as this is highly not recommended. KillMode=process ends up leaving leftover orphaned processes that escape resource management and process lifecycles, wasting resources on servers. Signed-off-by: r3g_5z <june@girlboss.ceo>
This commit is contained in:
parent
a1515f9a60
commit
90fce918b2
1 changed files with 0 additions and 1 deletions
|
@ -4,7 +4,6 @@ After=network.target postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecReload=/bin/kill $MAINPID
|
ExecReload=/bin/kill $MAINPID
|
||||||
KillMode=process
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
; Uncomment this if you're on Arch Linux
|
; Uncomment this if you're on Arch Linux
|
||||||
|
|
Loading…
Reference in a new issue