From: Antoine Beaupre Date: Wed, 24 Jun 2009 18:58:43 +0000 (-0400) Subject: describe why/how the startup script is broken X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=704c3a3ec9a601dab0dac13bd5780bbe19ace55d;p=puppet-reprepro.git describe why/how the startup script is broken --- diff --git a/files/inoticoming.sh b/files/inoticoming.sh index 2af5082..bfacc86 100755 --- a/files/inoticoming.sh +++ b/files/inoticoming.sh @@ -1,5 +1,13 @@ #! /bin/sh # +# This should be a startup script for inoticoming for reprepro, but it doesn't work well. +# +# For some reason, it doesn't log its progress to the logfile when started here, while the following works: +# +# /usr/bin/inoticoming --logfile /srv/reprepro/logs/i.log /srv/reprepro/incoming/ --stderr-to-log --stdout-to-log --suffix '.changes' --chdir /srv/reprepro reprepro -b /srv/reprepro --waitforlock 100 processincoming local {} \; +# +# The arguments are very similar so I'm not sure what's wrong. +# # skeleton example file to build /etc/init.d/ scripts. # This file should be used to construct scripts for /etc/init.d. #