1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Take (some^^)linter messages into account

This commit is contained in:
J. Fernando Lagrange 2017-09-27 23:14:15 +02:00
parent 72846cc2a2
commit faef60eab7
2 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,6 @@
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx",
"node"
], ],
"arguments": { "arguments": {
"install" : [ "install" : [

View file

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
set -u
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
# Source YunoHost helpers # Source YunoHost helpers
@ -11,9 +13,8 @@ domain=$(ynh_app_setting_get "$app" domain)
# Remove sources # Remove sources
systemctl stop $app systemctl stop $app
systemctl disable $app systemctl disable $app
sudo rm -rf /home/yunohost.app/$app ynh_secure_remove /etc/nginx/conf.d/$domain.d/$app.conf
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf ynh_secure_remove /etc/systemd/system/$app.service
sudo rm -f /etc/systemd/system/$app.service
# Reload nginx service # Reload nginx service
sudo service nginx reload sudo service nginx reload