Change restart type to on-abort
MaxScale should only restart if an abort is detects, i.e. MaxScale crashes.
This commit is contained in:
parent
e26f3795e2
commit
8be833640f
@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Restart=no
|
||||
Restart=on-abort
|
||||
PIDFile=@MAXSCALE_VARDIR@/run/maxscale/maxscale.pid
|
||||
ExecStartPre=/usr/bin/install -d @MAXSCALE_VARDIR@/run/maxscale -o maxscale -g maxscale
|
||||
ExecStart=@CMAKE_INSTALL_PREFIX@/@MAXSCALE_BINDIR@/maxscale --user=maxscale
|
||||
|
Loading…
x
Reference in New Issue
Block a user