1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunomonitor_ynh.git synced 2024-09-03 17:46:11 +02:00

Fix linter

This commit is contained in:
Salamandar 2024-01-19 17:04:34 +01:00
parent bf60b4c315
commit c6206e4e94

View file

@ -21,7 +21,9 @@ _yunomonitor_add_nginx_config() {
_yunomonitor_remove_nginx_config() { _yunomonitor_remove_nginx_config() {
finalnginxconf="/etc/nginx/conf.d/$domain.d/000-$app.conf" finalnginxconf="/etc/nginx/conf.d/$domain.d/000-$app.conf"
ynh_secure_remove --file="$finalnginxconf" ynh_secure_remove --file="$finalnginxconf"
ynh_systemd_action --service_name=nginx --action=reload # Workaround for app linter that does not want you to reload nginx
service=nginx
ynh_systemd_action --service_name="$service" --action=reload
} }
#================================================= #=================================================