debian: use tmpfiles instead of rundir unit
This commit is contained in:
parent
9624d92a65
commit
c542199bd5
1
debian/rules
vendored
1
debian/rules
vendored
@ -33,7 +33,6 @@ override_dh_auto_clean:
|
||||
override_dh_installsystemd:
|
||||
# Need to specify units manually, since we have multiple
|
||||
# and dh_installsystemd by default only looks for "<package>.service".
|
||||
dh_installsystemd -ptaler-exchange --name=taler-exchange-rundir --no-start --no-enable
|
||||
dh_installsystemd -ptaler-exchange --name=taler-exchange-httpd --no-start --no-enable
|
||||
dh_installsystemd -ptaler-exchange --name=taler-exchange-aggregator --no-start --no-enable
|
||||
dh_installsystemd -ptaler-exchange --name=taler-exchange-transfer --no-start --no-enable
|
||||
|
@ -1,14 +0,0 @@
|
||||
[Unit]
|
||||
Description=Shared private runtime directory for the GNU Taler exchange
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RuntimeDirectory=taler-exchange-private
|
||||
RuntimeDirectoryMode=2660
|
||||
User=root
|
||||
Group=taler-exchange-secmod
|
||||
ExecStart=/bin/true
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
4
debian/taler-exchange.tmpfiles
vendored
Normal file
4
debian/taler-exchange.tmpfiles
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Type Path Mode User Group Age Argument
|
||||
|
||||
# Directory for secmod server and client sockets
|
||||
d /var/taler-exchange 2660 root taler-exchange-secmod - -
|
Loading…
Reference in New Issue
Block a user