add taler-exchange.slice for taler-exchange wide options (#7209)

This commit is contained in:
Christian Grothoff 2022-07-17 17:03:14 +02:00
parent acb9cfec58
commit 93b45e62ee
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
13 changed files with 38 additions and 0 deletions

View File

@ -13,3 +13,4 @@ StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice

View File

@ -0,0 +1,16 @@
[Unit]
Description=GNU Taler payment system exchange aggregator service
PartOf=taler-exchange.target
[Service]
User=taler-exchange-aggregator
Type=simple
Restart=always
RestartSec=100ms
ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler/taler.conf
StandardOutput=journal
StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice

View File

@ -13,3 +13,4 @@ StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice

View File

@ -13,3 +13,4 @@ StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice

View File

@ -19,6 +19,7 @@ StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice
[Install]
WantedBy=multi-user.target

View File

@ -21,6 +21,7 @@ StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice
[Install]
WantedBy=multi-user.target

View File

@ -14,3 +14,5 @@ StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
IPAddressDeny=any
Slice=taler-exchange.slice

View File

@ -14,3 +14,6 @@ StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
IPAddressDeny=any
Slice=taler-exchange.slice

View File

@ -14,3 +14,5 @@ StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
IPAddressDeny=any
Slice=taler-exchange.slice

View File

@ -14,3 +14,4 @@ StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice

View File

@ -14,3 +14,4 @@ StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice

View File

@ -14,3 +14,4 @@ StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
Slice=taler-exchange.slice

View File

@ -0,0 +1,7 @@
[Unit]
Description=Slice for GNU taler exchange processes
Before=slices.target
[Slice]
# Add settings that should affect all GNU Taler exchange
# components here.