summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:08 +0000
commitca6e2b29377b584f2d4ce34584bd0f116bfb9d91 (patch)
treeb1e6a31a63d11316ac02f3458dc48fa83310e50b /debian
parentUpdating vcs fields. (diff)
downloadapache2-ca6e2b29377b584f2d4ce34584bd0f116bfb9d91.tar.xz
apache2-ca6e2b29377b584f2d4ce34584bd0f116bfb9d91.zip
Setting Restart to always in systemd unit.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/apache2.service2
-rw-r--r--debian/apache2@.service2
2 files changed, 2 insertions, 2 deletions
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