mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Fix
This commit is contained in:
parent
e65f46ce5f
commit
120d51014a
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ User=__APP__
|
|||
Group=__APP__
|
||||
WorkingDirectory=__FINALPATH__
|
||||
Environment="NODE_ENV=production"
|
||||
Environment="__YNH_NODE_LOAD_PATH__"
|
||||
ExecStart=__FINALPATH__ app.js
|
||||
Restart=always
|
||||
PrivateTmp=true
|
||||
|
|
|
@ -118,8 +118,8 @@ ynh_script_progression --message="Building CodiMD... (this will take some time a
|
|||
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less bin/setup
|
||||
ynh_exec_warn_less npm run build
|
||||
ynh_exec_as $app env $ynh_node_load_PATH bin/setup
|
||||
ynh_exec_as $app env $ynh_node_load_PATH npm run build
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue