Skip to content

Commit

Permalink
changed a conditional in start.sh for httpd vs apache2
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 18, 2014
1 parent 2c30650 commit c34041c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ chown -R $running:$running *
chmod -R 777 *

#Restart apache so the changes to the .htaccess file will apply
service apache2 restart
if [ "$running" == "apache" ]; then
service httpd restart
else
service apache2 restart
fi


echo "Finshed, The app is ready to go"

0 comments on commit c34041c

Please sign in to comment.