debian: add closer service

This commit is contained in:
Florian Dold 2021-07-27 15:58:50 +02:00
parent 2fb6c6cc5a
commit bded6807bc
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 15 additions and 0 deletions

1
debian/rules vendored
View File

@ -39,6 +39,7 @@ override_dh_installsystemd:
dh_installsystemd -ptaler-exchange --name=taler-exchange-wirewatch --no-start --no-enable
dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-eddsa --no-start --no-enable
dh_installsystemd -ptaler-exchange --name=taler-exchange-secmod-rsa --no-start --no-enable
dh_installsystemd -ptaler-exchange --name=taler-exchange-closer --no-start --no-enable
dh_installsystemd -ptaler-auditor --name=taler-auditor-httpd --no-start --no-enable
dh_installsystemd -ptaler-exchange --name=taler-exchange --no-start --no-enable
# final invocation to generate daemon reload

View File

@ -0,0 +1,14 @@
[Unit]
Description=GNU Taler payment system exchange closer service
PartOf=taler-exchange.service
[Service]
User=taler-exchange-closer
Type=simple
Restart=on-failure
ExecStart=/usr/bin/taler-exchange-closer -c /etc/taler/exchange-service-default.conf
StandardOutput=journal
StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full