4
schroot -c trusty-transitions -d "$HOME" /srv/transitions/transition-tracker/go
5
rsync -aq --delete-after --delete /srv/chroots/trusty-transitions/srv/transitions/www/ "$HOME/public_html/transitions/"
4
# This could run as 1000/1000 , but for some reason it outputs
5
# Fatal error: exception Not_found
6
# If debugged, we could do the below instead, but for now the 'go' script runs
7
# as root and chmods its output to ubuntu:ubuntu (inside the chroot, which maps
8
# to ubuntu-archive outside)
10
# lxc exec --user 1000 --group 1000 ben -- /srv/transitions/transition-tracker/config/go
11
flock -xn -E 0 ~/.update-transitions.lock lxc exec ben -- /srv/transitions/transition-tracker/config/go