commit 8ac7856e6c5c2460c2dbe38706c188ed275c8d03 parent 8025a725eee08ddc404c1ffe6b9fbe6e61a4aa37 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 26 Mar 2024 22:22:11 +0100 add slice Diffstat:
6 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/debian/taler-merchant.taler-merchant-depositcheck.service b/debian/taler-merchant.taler-merchant-depositcheck.service @@ -14,3 +14,4 @@ PrivateTmp=yes PrivateDevices=yes ProtectSystem=full RuntimeMaxSec=3600s +Slice=taler-merchant.slice diff --git a/debian/taler-merchant.taler-merchant-exchange.service b/debian/taler-merchant.taler-merchant-exchange.service @@ -14,3 +14,4 @@ PrivateTmp=yes PrivateDevices=yes ProtectSystem=full RuntimeMaxSec=3600s +Slice=taler-merchant.slice diff --git a/debian/taler-merchant.taler-merchant-httpd.service b/debian/taler-merchant.taler-merchant-httpd.service @@ -10,6 +10,7 @@ RestartSec=1s RestartPreventExitStatus=9 RuntimeMaxSec=3600s ExecStart=/usr/bin/taler-merchant-httpd -c /etc/taler/taler.conf -L INFO +Slice=taler-merchant.slice [Install] WantedBy=multi-user.target diff --git a/debian/taler-merchant.taler-merchant-webhook.service b/debian/taler-merchant.taler-merchant-webhook.service @@ -14,3 +14,4 @@ PrivateTmp=yes PrivateDevices=yes ProtectSystem=full RuntimeMaxSec=3600s +Slice=taler-merchant.slice diff --git a/debian/taler-merchant.taler-merchant-wirewatch.service b/debian/taler-merchant.taler-merchant-wirewatch.service @@ -14,3 +14,5 @@ PrivateTmp=yes PrivateDevices=yes ProtectSystem=full RuntimeMaxSec=3600s +Slice=taler-merchant.slice + diff --git a/debian/taler-merchant.taler-merchant.slice b/debian/taler-merchant.taler-merchant.slice @@ -0,0 +1,7 @@ +[Unit] +Description=Slice for GNU taler merchant processes +Before=slices.target + +[Slice] +# Add settings that should affect all GNU Taler merchant +# components here.