Fix service file
authorJan Dittberner <jandd@cacert.org>
Fri, 2 Aug 2019 14:00:55 +0000 (16:00 +0200)
committerJan Dittberner <jandd@cacert.org>
Fri, 2 Aug 2019 14:00:55 +0000 (16:00 +0200)
- use absolute path in ExecStart
- fix WantedBy syntax

sitemodules/profiles/files/debarchive/inoticoming.service

index 55480d7..4135485 100644 (file)
@@ -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