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:
parent
f236f553e9
commit
0463668181
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue