summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-08-02 16:00:55 +0200
committerJan Dittberner <jandd@cacert.org>2019-08-02 16:00:55 +0200
commit8db83e3490f9c1e0721330cbe0b09cdcdbd41ae2 (patch)
tree202526bed308ce691c75e2185c08fc9313faea18
parent4f2102fb6c6ad6ff89478e1035e52584ae7cbf20 (diff)
downloadcacert-puppet-8db83e3490f9c1e0721330cbe0b09cdcdbd41ae2.tar.gz
cacert-puppet-8db83e3490f9c1e0721330cbe0b09cdcdbd41ae2.tar.xz
cacert-puppet-8db83e3490f9c1e0721330cbe0b09cdcdbd41ae2.zip
Fix service file
- use absolute path in ExecStart - fix WantedBy syntax
-rw-r--r--sitemodules/profiles/files/debarchive/inoticoming.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/sitemodules/profiles/files/debarchive/inoticoming.service b/sitemodules/profiles/files/debarchive/inoticoming.service
index 55480d7..4135485 100644
--- a/sitemodules/profiles/files/debarchive/inoticoming.service
+++ b/sitemodules/profiles/files/debarchive/inoticoming.service
@@ -4,9 +4,9 @@ Documentation=man:inoticoming(1)
Requires=local-fs.target
[Service]
-ExecStart=inoticoming --foreground --initialsearch /srv/upload/incoming --suffix .changes --stderr-to-log --stdout-to-log reprepro -s -b /srv/debarchive/packages --waitforlock 1000 processincoming default {} \;
+ExecStart=/usr/bin/inoticoming --foreground --initialsearch /srv/upload/incoming --suffix .changes --stderr-to-log --stdout-to-log reprepro -s -b /srv/debarchive/packages --waitforlock 1000 processincoming default {} \;
User=debarchive
WorkingDirectory=/srv/debarchive
[Install]
-Wanted-By=multi-user.target
+WantedBy=multi-user.target