gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[anastasis] branch master updated: improve service definition


From: gnunet
Subject: [anastasis] branch master updated: improve service definition
Date: Mon, 13 Jan 2025 22:38:29 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 31c5976  improve service definition
31c5976 is described below

commit 31c5976bb69ad793c43705925d81faf8fb418764
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jan 13 22:38:13 2025 +0100

    improve service definition
---
 debian/anastasis-httpd.service | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/anastasis-httpd.service b/debian/anastasis-httpd.service
index 372e824..4877a89 100644
--- a/debian/anastasis-httpd.service
+++ b/debian/anastasis-httpd.service
@@ -4,8 +4,13 @@ Description=Anastasis key recovery backend
 [Service]
 User=anastasis-httpd
 Type=simple
-Restart=on-failure
+Restart=always
+RestartMode=direct
+RestartSec=1s
+RestartPreventExitStatus=2 3 4 5 6 9
 ExecStart=/usr/bin/anastasis-httpd -c /etc/anastasis/anastasis.conf -L INFO
+EnvironmentFile=/etc/anastasis/anastasis.env
+
 
 [Install]
 WantedBy=multi-user.target

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]