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

Fix restore

This commit is contained in:
Salamandar 2024-01-30 10:52:49 +01:00
parent ab1af6ca2a
commit 3ae3c4b969

View file

@ -37,8 +37,8 @@ ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable "$app.service" --quiet
yunohost service add "$app" --description="Loki daemon" --log="/var/log/$app/loki.log"
systemctl enable "$app-promtail.service" --quiet
ynh_restore_file --origin_path="/etc/systemd/system/$app-promtail.service"
systemctl enable "$app-promtail.service" --quiet
yunohost service add "$app-promtail" --description="Promtail daemon" --log="/var/log/$app/promtail.log"
ynh_restore_file --origin_path="/etc/logrotate.d/$app"