mirror of
https://github.com/YunoHost-Apps/thelounge_ynh.git
synced 2024-09-03 20:35:54 +02:00
Fix
This commit is contained in:
parent
78489ebde2
commit
99a0950ed5
2 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,7 @@ WorkingDirectory=__FINALPATH__/
|
||||||
Environment="PATH=__ENV_PATH__"
|
Environment="PATH=__ENV_PATH__"
|
||||||
Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/"
|
Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/"
|
||||||
Environment="NODE_ENV=production"
|
Environment="NODE_ENV=production"
|
||||||
ExecStart==__FINALPATH__/ thelounge start
|
ExecStart==__YNH_NODE__ start
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
StartLimitInterval=60s
|
StartLimitInterval=60s
|
||||||
|
|
|
@ -128,6 +128,7 @@ pushd $final_path
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
#ynh_exec_as $app env $ynh_node_load_PATH
|
#ynh_exec_as $app env $ynh_node_load_PATH
|
||||||
ynh_exec_warn_less $ynh_npm install --global --unsafe-perm thelounge
|
ynh_exec_warn_less $ynh_npm install --global --unsafe-perm thelounge
|
||||||
|
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" thelounge start
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue