mirror of
https://github.com/YunoHost-Apps/ampache_ynh.git
synced 2024-09-03 18:15:55 +02:00
[enh] reload Nginx conf after removing Ampache conf.
This commit is contained in:
parent
30da666ce1
commit
16a5a0ad61
1 changed files with 3 additions and 0 deletions
|
@ -8,3 +8,6 @@ domain=$(sudo yunohost app setting ampache domain)
|
|||
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
|
||||
sudo rm -rf /var/www/ampache
|
||||
sudo rm -f /etc/nginx/conf.d/$domain.d/ampache.conf
|
||||
|
||||
# Reload Nginx configuration
|
||||
sudo service nginx reload
|
||||
|
|
Loading…
Add table
Reference in a new issue