[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: add service file for webhook hel
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: add service file for webhook helper |
Date: |
Sun, 19 Feb 2023 13:10:11 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 0be78baf add service file for webhook helper
0be78baf is described below
commit 0be78bafee2d7e1c6df48ec78f6ba1bcf17b1295
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Feb 19 13:10:07 2023 +0100
add service file for webhook helper
---
debian/taler-merchant.taler-merchant-httpd.service | 5 ++++-
debian/taler-merchant.taler-merchant-webhook.service | 14 ++++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/debian/taler-merchant.taler-merchant-httpd.service
b/debian/taler-merchant.taler-merchant-httpd.service
index 6737fadf..c863c14e 100644
--- a/debian/taler-merchant.taler-merchant-httpd.service
+++ b/debian/taler-merchant.taler-merchant-httpd.service
@@ -1,10 +1,13 @@
[Unit]
Description=GNU Taler payment system merchant backend
+After=postgres.service
[Service]
User=taler-merchant-httpd
Type=simple
-Restart=on-failure
+Restart=always
+RestartSec=1s
+RuntimeMaxSec=3600s
ExecStart=/usr/bin/taler-merchant-httpd -c /etc/taler/taler.conf
[Install]
diff --git a/debian/taler-merchant.taler-merchant-webhook.service
b/debian/taler-merchant.taler-merchant-webhook.service
new file mode 100644
index 00000000..0e3e0c60
--- /dev/null
+++ b/debian/taler-merchant.taler-merchant-webhook.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=GNU Taler payment system merchant backend webhook trigger service
+After=postgres.service
+
+[Service]
+User=taler-merchant-httpd
+Type=simple
+Restart=always
+RestartSec=1s
+ExecStart=/usr/bin/taler-merchant-webhook -c /etc/taler/taler.conf
+PrivateTmp=yes
+PrivateDevices=yes
+ProtectSystem=full
+RuntimeMaxSec=3600s
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: add service file for webhook helper,
gnunet <=