Use full path to reprepro-import
This commit is contained in:
parent
8b84ef12e3
commit
fce7331e56
1 changed files with 2 additions and 3 deletions
|
@ -28,13 +28,12 @@ chown -R user /home/user/.ssh
|
||||||
# load cron
|
# load cron
|
||||||
CRONFILE=`mktemp`
|
CRONFILE=`mktemp`
|
||||||
cat > $CRONFILE <<EOF
|
cat > $CRONFILE <<EOF
|
||||||
* * * * * reprepro-import >> /var/log/reprepro.log
|
* * * * * /usr/local/sbin/reprepro-import >> /var/log/reprepro.log
|
||||||
EOF
|
EOF
|
||||||
crontab -u root $CRONFILE
|
crontab -u root $CRONFILE
|
||||||
rm -f $CRONFILE
|
rm -f $CRONFILE
|
||||||
|
|
||||||
# run import once, to create the right directory structure
|
# run import once, to create the right directory structure
|
||||||
reprepro-import
|
/usr/local/sbin/reprepro-import
|
||||||
|
|
||||||
supervisord -n
|
supervisord -n
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue