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

[fix] Bad working directory

This commit is contained in:
ljf 2019-11-19 20:17:03 +01:00
parent 058a87ab1c
commit 94bd2509a9
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ After=network.target
[Service]
Type=oneshot
WorkingDirectory=__FINALPATH__
ExecStart=__FINALPATH__/yunomonitor.py -c __FINALPATH__/conf/__APP__.yml
User=root
Group=root

View file

@ -128,7 +128,7 @@ chmod u+x $final_path/yunomonitor.py
#=================================================
ynh_script_progression --message="Configuring SSOwat..." --time --weight=1
ynh_app_setting_set --app=$app --key=unprotected_uris --value="/.well-known/yunomonitor/"
ynh_app_setting_set --app=$app --key=unprotected_uris --value="/"
#=================================================
# RELOAD NGINX