diff options
Diffstat (limited to 'debian/taler-exchange.taler-exchange-closer.service')
-rw-r--r-- | debian/taler-exchange.taler-exchange-closer.service | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/debian/taler-exchange.taler-exchange-closer.service b/debian/taler-exchange.taler-exchange-closer.service index b2a820d35..ba57522b0 100644 --- a/debian/taler-exchange.taler-exchange-closer.service +++ b/debian/taler-exchange.taler-exchange-closer.service @@ -1,14 +1,20 @@ [Unit] Description=GNU Taler payment system exchange closer service PartOf=taler-exchange.target +After=network.target postgres.service [Service] User=taler-exchange-closer Type=simple -Restart=on-failure -ExecStart=/usr/bin/taler-exchange-closer -c /etc/taler/taler.conf +Restart=always +RestartMode=direct +RestartSec=1s +RestartPreventExitStatus=2 3 4 5 6 9 +ExecStart=/usr/bin/taler-exchange-closer -c /etc/taler/taler.conf -L INFO StandardOutput=journal StandardError=journal PrivateTmp=yes PrivateDevices=yes ProtectSystem=full +Slice=taler-exchange.slice +RuntimeMaxSec=3600s |