Fix access to var directory

Fix cron file EOL
Fix access rights when restoring
This commit is contained in:
Jimmy Monin
2016-09-18 11:09:39 +02:00
parent 57708e3169
commit a7c054b535
5 changed files with 3 additions and 21 deletions

View File

@ -1,6 +1,5 @@
#!/bin/bash
# See comments in install script
app=$YNH_APP_INSTANCE_NAME
# Source YunoHost helpers
@ -15,12 +14,6 @@ sudo rm -rf /var/www/$app
# Remove nginx configuration file
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
### PHP (remove if not used) ###
# If a dedicated php-fpm process is used:
# sudo rm -f /etc/php5/fpm/pool.d/$app.conf
# sudo service php5-fpm reload
### PHP end ###
# Drop MySQL database and user
dbname=$app
dbuser=$app