From 168bd2d0f8fae2be59104e30954f8410b878fcce Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 4 Sep 2017 19:12:59 +0200 Subject: [PATCH] Fix stuff in init.sh --- init.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/init.sh b/init.sh index fcd06f9..cb77f28 100755 --- a/init.sh +++ b/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 /var/cache/pbuilder/result $PBUILDER_RESULTS +rm -f /etc/pbuilderrc ln -s $PBUILDER_CONF/pbuilder.conf /etc/pbuilderrc cp $VINAIGRETTE_HOME/config/nginx.conf /etc/nginx/sites-enabled/repo.conf @@ -48,13 +49,11 @@ service nginx reload rebuildd init - -cd $VINAIGRETTE_HOME/webhooks -virtualenv venv -source venv/bin/activate -pip install -r requirements.txt - -cp $VINAIGRETTE_HOME/webhooks/service /etc/init.d/github-webhook -systemctl daemon-reload -updated-rc.d github-webhook defaults -github-webhook +#cd $VINAIGRETTE_HOME/webhooks +#virtualenv venv +#source venv/bin/activate +#pip install -r requirements.txt +#cp $VINAIGRETTE_HOME/webhooks/service /etc/init.d/github-webhook +#systemctl daemon-reload +#updated-rc.d github-webhook defaults +#github-webhook