aboutsummaryrefslogtreecommitdiff
path: root/vagrant/bootstrap.sh
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-27 08:17:37 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-11-27 08:17:37 +0100
commit0eae7886263f61fd307c90d6b23325bd44385b92 (patch)
tree59a673018ddb68c46187e925647141839b6df740 /vagrant/bootstrap.sh
parentUse a newer version of Vagrant. (diff)
downloadnewspipe-0eae7886263f61fd307c90d6b23325bd44385b92.tar.gz
newspipe-0eae7886263f61fd307c90d6b23325bd44385b92.tar.bz2
newspipe-0eae7886263f61fd307c90d6b23325bd44385b92.zip
fix
Diffstat (limited to 'vagrant/bootstrap.sh')
-rw-r--r--vagrant/bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh
index 2720e9c3..a1561736 100644
--- a/vagrant/bootstrap.sh
+++ b/vagrant/bootstrap.sh
@@ -41,7 +41,7 @@ chown -R vagrant:vagrant .
sudo -u vagrant python3 manager.py db_empty
sudo -u vagrant python3 manager.py db_create
-# start pyAggr3g470r at startup
+# start JARR at startup
echo "#!/bin/sh -e" > /etc/rc.local
echo "cd /home/vagrant/JARR/" >> /etc/rc.local
echo "sudo -u vagrant python3 runserver.py &" >> /etc/rc.local
@@ -49,7 +49,7 @@ echo "exit 0" >> /etc/rc.local
chmod 755 /etc/rc.local
# Start the application.
-/etc/init.d/rc.local start
+sudo /etc/init.d/rc.local start
#write out current crontab
bgstack15