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:
parent
72846cc2a2
commit
faef60eab7
2 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,6 @@
|
|||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"node"
|
||||
],
|
||||
"arguments": {
|
||||
"install" : [
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -u
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
# Source YunoHost helpers
|
||||
|
@ -11,9 +13,8 @@ domain=$(ynh_app_setting_get "$app" domain)
|
|||
# Remove sources
|
||||
systemctl stop $app
|
||||
systemctl disable $app
|
||||
sudo rm -rf /home/yunohost.app/$app
|
||||
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
sudo rm -f /etc/systemd/system/$app.service
|
||||
ynh_secure_remove /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
ynh_secure_remove /etc/systemd/system/$app.service
|
||||
|
||||
# Reload nginx service
|
||||
sudo service nginx reload
|
||||
|
|
Loading…
Reference in a new issue