1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dotclear2_ynh.git synced 2024-09-03 18:26:29 +02:00

Replaced service nginx by /etc/init.d/nginx to avoid /dev/tty error message

This commit is contained in:
Rémy Garrigue 2015-08-21 14:34:13 +00:00
parent f236f553e9
commit 0463668181
3 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@ then
fi
# Reload Nginx and regenerate SSOwat conf
sudo service nginx reload
sudo /etc/init.d/nginx reload
sudo yunohost app ssowatconf
# Setting first user details and filling database calling admin/install/index.php

View file

@ -20,5 +20,5 @@ sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
mysql -u root -p$root_pwd -e "DROP DATABASE $app ; DROP USER $app@localhost ;"
# Restart services
sudo service nginx reload
sudo /etc/init.d/nginx reload
sudo yunohost app ssowatconf

View file

@ -21,4 +21,4 @@ domain=$(sudo yunohost app setting $app domain)
sudo cp -a $backup_dir/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
# Restart webserver
sudo service nginx reload
sudo /etc/init.d/nginx reload