commit 0be78bafee2d7e1c6df48ec78f6ba1bcf17b1295 parent 67f5e1b3eb23f780d9576e56ad404d54771532c3 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 19 Feb 2023 13:10:07 +0100 add service file for webhook helper Diffstat:
| M | debian/taler-merchant.taler-merchant-httpd.service | | | 5 | ++++- |
| A | 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 @@ -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 @@ -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