From fce7331e5634da1213bdfdf4a7492a44977bdc08 Mon Sep 17 00:00:00 2001 From: Nick Andrew Date: Sun, 16 Nov 2014 23:42:47 +1100 Subject: [PATCH] Use full path to reprepro-import --- scripts/start.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index 5fb8f26..8dcf580 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -28,13 +28,12 @@ chown -R user /home/user/.ssh # load cron CRONFILE=`mktemp` cat > $CRONFILE <> /var/log/reprepro.log +* * * * * /usr/local/sbin/reprepro-import >> /var/log/reprepro.log EOF crontab -u root $CRONFILE rm -f $CRONFILE # run import once, to create the right directory structure -reprepro-import +/usr/local/sbin/reprepro-import supervisord -n -