Browse Source

Remplacement du restart de apache par un reboot

master
heuzef 6 years ago
parent
commit
0500e430ed
2 changed files with 7 additions and 1 deletions
  1. +1
    -0
      install.sh
  2. +6
    -1
      scripts/update.sh

+ 1
- 0
install.sh View File

@@ -28,6 +28,7 @@ su -l allo-gg -c "git clone https://github.com/heuzef/Allo-GG.git /var/www/html/
# Lancement automatique du script de demarrage
echo '@reboot /bin/bash /var/www/html/scripts/boot.sh &' | crontab -u allo-gg -

echo
echo "----------------------------"
echo "Install done ! Rebooting ..."
sleep 3


+ 6
- 1
scripts/update.sh View File

@@ -4,4 +4,9 @@

cd /var/www/html/
git pull origin master
service apache2 restart
echo
echo "----------------------------"
echo "Update done ! Rebooting ..."
sleep 3

sh /var/www/html/scripts/reboot.sh

Loading…
Cancel
Save