commit 8381f03ecc4cd8a4de565cebd57bc0324279fd4f
parent ede5a7527ee874c9ce2cbd37619b052d3a59839c
Author: Florian Dold <florian@dold.me>
Date: Fri, 16 Jul 2021 18:45:30 +0200
debian: send logs to journal
Diffstat:
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/debian/taler-exchange.postinst b/debian/taler-exchange.postinst
@@ -141,6 +141,8 @@ User=${_EUSERNAME}
Type=simple
Restart=on-failure
ExecStart=/usr/bin/taler-exchange-httpd -c /etc/taler/exchange-service-default.conf
+StandardOutput=journal
+StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
@@ -159,6 +161,8 @@ User=${_RSECUSERNAME}
Type=simple
Restart=on-failure
ExecStart=/usr/bin/taler-exchange-secmod-rsa -c /etc/taler/exchange-service-default.conf
+StandardOutput=journal
+StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
@@ -174,6 +178,8 @@ User=${_ESECUSERNAME}
Type=simple
Restart=on-failure
ExecStart=/usr/bin/taler-exchange-secmod-eddsa -c /etc/taler/exchange-service-default.conf
+StandardOutput=journal
+StandardError=journal
PrivateTmp=no
PrivateDevices=yes
ProtectSystem=full
@@ -190,6 +196,8 @@ User=${_WIREUSERNAME}
Type=simple
Restart=on-failure
ExecStart=/usr/bin/taler-exchange-wirewatch -c /etc/taler/exchange-service-wire.conf
+StandardOutput=journal
+StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
@@ -207,6 +215,8 @@ User=${_WIREUSERNAME}
Type=simple
Restart=on-failure
ExecStart=/usr/bin/taler-exchange-wirewatch -c /etc/taler/exchange-service-wire.conf
+StandardOutput=journal
+StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
@@ -222,6 +232,8 @@ User=${_AGGRUSERNAME}
Type=simple
Restart=on-failure
ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler/exchange-service-default.conf
+StandardOutput=journal
+StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full