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:
parent
bf60b4c315
commit
c6206e4e94
1 changed files with 3 additions and 1 deletions
|
@ -21,7 +21,9 @@ _yunomonitor_add_nginx_config() {
|
|||
_yunomonitor_remove_nginx_config() {
|
||||
finalnginxconf="/etc/nginx/conf.d/$domain.d/000-$app.conf"
|
||||
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
|
||||
}
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue