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 ".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 - -