mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
15 lines
334 B
Bash
15 lines
334 B
Bash
#!/bin/bash
|
|
|
|
app=z-push
|
|
domain=$(sudo yunohost app setting $app domain)
|
|
|
|
# Cleaning
|
|
sudo rm -rf /var/www/$app
|
|
sudo rm -rf /var/log/$app
|
|
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
|
sudo rm -f /etc/php5/fpm/pool.d/$app.conf
|
|
|
|
# Restart of services
|
|
sudo service php5-fpm reload
|
|
sudo service nginx reload
|
|
sudo yunohost app ssowatconf
|