1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
This commit is contained in:
ericgaspar 2021-06-13 15:04:04 +02:00
parent e65f46ce5f
commit 120d51014a
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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
#=================================================