Do not leave service in auto-restarting mode in case of configuration failure
This commit is contained in:
parent
b83281f89d
commit
f499c489fd
@ -12,6 +12,7 @@ ExecReload=/bin/kill -HUP $MAINPID
|
|||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=42s
|
RestartSec=42s
|
||||||
|
RestartPreventExitStatus=255
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user