diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-11-27 08:17:37 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-11-27 08:17:37 +0100 |
commit | 0eae7886263f61fd307c90d6b23325bd44385b92 (patch) | |
tree | 59a673018ddb68c46187e925647141839b6df740 | |
parent | Use a newer version of Vagrant. (diff) | |
download | newspipe-0eae7886263f61fd307c90d6b23325bd44385b92.tar.gz newspipe-0eae7886263f61fd307c90d6b23325bd44385b92.tar.bz2 newspipe-0eae7886263f61fd307c90d6b23325bd44385b92.zip |
fix
-rw-r--r-- | vagrant/bootstrap.sh | 4 |
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
|