diff options
Diffstat (limited to 'debian/taler-exchange.taler-exchange-aggregator@.service')
-rw-r--r-- | debian/taler-exchange.taler-exchange-aggregator@.service | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/debian/taler-exchange.taler-exchange-aggregator@.service b/debian/taler-exchange.taler-exchange-aggregator@.service index aa4f32e38..b13997ae2 100644 --- a/debian/taler-exchange.taler-exchange-aggregator@.service +++ b/debian/taler-exchange.taler-exchange-aggregator@.service @@ -1,3 +1,9 @@ +# This is a systemd service template to instantiate +# the service multiple times for parallelism. +# We currently don't ship it with the package, +# but might use it for future high-performance +# deployments. + [Unit] Description=GNU Taler payment system exchange aggregator service PartOf=taler-exchange.target @@ -6,11 +12,13 @@ PartOf=taler-exchange.target User=taler-exchange-aggregator Type=simple Restart=always -RestartSec=100ms -ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler/taler.conf +RestartSec=1s +RestartPreventExitStatus=9 +ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler/taler.conf -L INFO StandardOutput=journal StandardError=journal PrivateTmp=yes PrivateDevices=yes ProtectSystem=full Slice=taler-exchange.slice +RuntimeMaxSec=3600s |