From ca6e2b29377b584f2d4ce34584bd0f116bfb9d91 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:17:08 +0200 Subject: Setting Restart to always in systemd unit. Signed-off-by: Daniel Baumann --- debian/apache2.service | 2 +- debian/apache2@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/apache2.service b/debian/apache2.service index cd7e663..387c863 100644 --- a/debian/apache2.service +++ b/debian/apache2.service @@ -11,7 +11,7 @@ ExecStop=/usr/sbin/apachectl graceful-stop ExecReload=/usr/sbin/apachectl graceful KillMode=mixed PrivateTmp=true -Restart=on-abort +Restart=always OOMPolicy=continue [Install] diff --git a/debian/apache2@.service b/debian/apache2@.service index 56f88cc..c2e8f29 100644 --- a/debian/apache2@.service +++ b/debian/apache2@.service @@ -12,7 +12,7 @@ ExecStop=/usr/sbin/apachectl graceful-stop ExecReload=/usr/sbin/apachectl graceful KillMode=mixed PrivateTmp=true -Restart=on-abort +Restart=always [Install] WantedBy=multi-user.target -- cgit v1.2.3