redmine: fix auto-scan of repositories
While inspecting the running docker container I found that the script already runs as redmine user. I had assumed that it runs as root earlier. Running 'su' as redmine user fails, therefore it currently does not run the fetch_changesets command. Related: OS#6083 Change-Id: I195311b93868eb5fd73ad6e3c165d48f3b7b53cechanges/72/33572/1
parent
5227834974
commit
1a47384d81
|
@ -7,7 +7,7 @@
|
|||
sleep 10m
|
||||
echo
|
||||
echo "=== Fetching git repositories (OS#5331) ==="
|
||||
su redmine -c 'rails runner "Repository.fetch_changesets" -e production'
|
||||
rails runner "Repository.fetch_changesets" -e production
|
||||
echo
|
||||
done &) &
|
||||
|
||||
|
|
Loading…
Reference in New Issue