diff options
author | Florian Dold <florian@dold.me> | 2021-07-27 15:24:56 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-27 15:24:56 +0200 |
commit | c542199bd5c1522c35c7971bd476604c836195aa (patch) | |
tree | ea4049ffd9b9dc3890afabc49731b654db539566 | |
parent | 9624d92a65520b982f107ede35c085f9daee5fda (diff) | |
download | exchange-c542199bd5c1522c35c7971bd476604c836195aa.tar.xz |
debian: use tmpfiles instead of rundir unit
-rwxr-xr-x | debian/rules | 1 | ||||
-rw-r--r-- | debian/taler-exchange.taler-exchange-rundir.service | 14 | ||||
-rw-r--r-- | debian/taler-exchange.tmpfiles | 4 |
3 files changed, 4 insertions, 15 deletions
diff --git a/debian/rules b/debian/rules index 39d23525e..ab20b7cea 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/debian/taler-exchange.taler-exchange-rundir.service b/debian/taler-exchange.taler-exchange-rundir.service deleted file mode 100644 index b7614c0d9..000000000 --- a/debian/taler-exchange.taler-exchange-rundir.service +++ /dev/null @@ -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 diff --git a/debian/taler-exchange.tmpfiles b/debian/taler-exchange.tmpfiles new file mode 100644 index 000000000..382295932 --- /dev/null +++ b/debian/taler-exchange.tmpfiles @@ -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 - - |