Let debarchive run in its own directory
authorJan Dittberner <jandd@cacert.org>
Thu, 1 Aug 2019 20:42:50 +0000 (22:42 +0200)
committerJan Dittberner <jandd@cacert.org>
Thu, 1 Aug 2019 20:42:50 +0000 (22:42 +0200)
You need to use a bind mount in /etc/fstab

/srv/debarchive/archive/mini-dinstall/incoming /srv/upload/incoming - bind 0 0

sitemodules/profiles/files/debarchive/debarchive.service

index ec6f12e..0fc3555 100644 (file)
@@ -3,7 +3,7 @@ Description=CAcert Debian Archive Update service
 
 [Service]
 Type=forking
-ExecStart=/usr/bin/mini-dinstall /srv/upload/incoming
+ExecStart=/usr/bin/mini-dinstall
 ExecStop=/usr/bin/mini-dinstall -k
 User=debarchive