Setting Restart to always in systemd unit.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
a4970e94f1
commit
fd572ead5b
2 changed files with 2 additions and 2 deletions
2
debian/apache2.service
vendored
2
debian/apache2.service
vendored
|
@ -11,7 +11,7 @@ ExecStop=/usr/sbin/apachectl graceful-stop
|
||||||
ExecReload=/usr/sbin/apachectl graceful
|
ExecReload=/usr/sbin/apachectl graceful
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
Restart=on-abort
|
Restart=always
|
||||||
OOMPolicy=continue
|
OOMPolicy=continue
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
2
debian/apache2@.service
vendored
2
debian/apache2@.service
vendored
|
@ -12,7 +12,7 @@ ExecStop=/usr/sbin/apachectl graceful-stop
|
||||||
ExecReload=/usr/sbin/apachectl graceful
|
ExecReload=/usr/sbin/apachectl graceful
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
Restart=on-abort
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue