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

Fix install

This commit is contained in:
Florent 2022-12-27 00:37:35 +01:00
parent 314ed42315
commit 14aa4f50bc
5 changed files with 5 additions and 2 deletions

View file

@ -7,7 +7,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/loki --config.file __FINALPATH__/local-config.yaml
ExecStart=__FINALPATH__/loki-linux-__ARCH__ --config.file __FINALPATH__/local-config.yaml
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit

View file

@ -22,7 +22,7 @@
"requirements": {
"yunohost": ">= 11.0.0"
},
"multi_instance": false,
"multi_instance": true,
"services": [],
"arguments": {
"install": []

View file

@ -21,6 +21,7 @@ ynh_abort_if_errors
#=================================================
app=$YNH_APP_INSTANCE_NAME
arch=$YNH_ARCH
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS

View file

@ -27,6 +27,7 @@ ynh_abort_if_errors
ynh_script_progression --message="Loading installation settings..." --weight=1
app=$YNH_APP_INSTANCE_NAME
arch=$YNH_ARCH
final_path=$(ynh_app_setting_get --app=$app --key=final_path)

View file

@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers
ynh_script_progression --message="Loading installation settings..." --weight=1
app=$YNH_APP_INSTANCE_NAME
arch=$YNH_ARCH
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
http_port=$(ynh_app_setting_get --app=$app --key=http_port)