mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Fix stuff in init.sh
This commit is contained in:
parent
79f994838d
commit
168bd2d0f8
1 changed files with 9 additions and 10 deletions
19
init.sh
19
init.sh
|
@ -33,6 +33,7 @@ ln -s $VINAIGRETTE_HOME/config/rebuildd.conf /etc/rebuildd/rebuilddrc
|
||||||
ln -s $VINAIGRETTE_HOME/images /var/cache/pbuilder/images
|
ln -s $VINAIGRETTE_HOME/images /var/cache/pbuilder/images
|
||||||
ln -s /var/cache/pbuilder/result $PBUILDER_RESULTS
|
ln -s /var/cache/pbuilder/result $PBUILDER_RESULTS
|
||||||
|
|
||||||
|
rm -f /etc/pbuilderrc
|
||||||
ln -s $PBUILDER_CONF/pbuilder.conf /etc/pbuilderrc
|
ln -s $PBUILDER_CONF/pbuilder.conf /etc/pbuilderrc
|
||||||
|
|
||||||
cp $VINAIGRETTE_HOME/config/nginx.conf /etc/nginx/sites-enabled/repo.conf
|
cp $VINAIGRETTE_HOME/config/nginx.conf /etc/nginx/sites-enabled/repo.conf
|
||||||
|
@ -48,13 +49,11 @@ service nginx reload
|
||||||
|
|
||||||
rebuildd init
|
rebuildd init
|
||||||
|
|
||||||
|
#cd $VINAIGRETTE_HOME/webhooks
|
||||||
cd $VINAIGRETTE_HOME/webhooks
|
#virtualenv venv
|
||||||
virtualenv venv
|
#source venv/bin/activate
|
||||||
source venv/bin/activate
|
#pip install -r requirements.txt
|
||||||
pip install -r requirements.txt
|
#cp $VINAIGRETTE_HOME/webhooks/service /etc/init.d/github-webhook
|
||||||
|
#systemctl daemon-reload
|
||||||
cp $VINAIGRETTE_HOME/webhooks/service /etc/init.d/github-webhook
|
#updated-rc.d github-webhook defaults
|
||||||
systemctl daemon-reload
|
#github-webhook
|
||||||
updated-rc.d github-webhook defaults
|
|
||||||
github-webhook
|
|
||||||
|
|
Loading…
Reference in a new issue