copr-dist-git: adjust cron script to new Git repo path
This commit is contained in:
parent
c470ebc124
commit
af9ab8ce5d
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@
|
|||
(
|
||||
flock -n 9 || exit 1
|
||||
# ... commands executed under lock ...
|
||||
CGIT_CONFIG="/etc/cgitrc.slow" /var/www/cgi-bin/cgit --scan-path=/var/lib/dist-git/git/repositories >/var/cache/cgit/repo-list.rc.new 2>/dev/null && mv -f /var/cache/cgit/repo-list.rc.new /var/cache/cgit/repo-list.rc
|
||||
CGIT_CONFIG="/etc/cgitrc.slow" /var/www/cgi-bin/cgit --scan-path=/var/lib/dist-git/git >/var/cache/cgit/repo-list.rc.new 2>/dev/null && mv -f /var/cache/cgit/repo-list.rc.new /var/cache/cgit/repo-list.rc
|
||||
|
||||
) 9>/var/lock/mylockfile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue