1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00

Fix install

This commit is contained in:
Josué Tille 2024-04-27 02:39:19 +02:00
parent 595caa2dc9
commit c7830fdec5
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -24,6 +24,7 @@ if [ -n "$(ls -A "$data_dir")" ]; then
mv -t "$old_data_dir_path" "$data_dir"/* mv -t "$old_data_dir_path" "$data_dir"/*
app_data_dirs="$(echo /home/yunohost.app/*)" app_data_dirs="$(echo /home/yunohost.app/*)"
fi fi
mkdir -p /var/log/"$app"
ynh_systemd_action --service_name="$app" --action=stop --log_path=systemd --timeout=15 ynh_systemd_action --service_name="$app" --action=stop --log_path=systemd --timeout=15