mirror of
https://github.com/YunoHost-Apps/planka_ynh.git
synced 2024-09-03 20:06:00 +02:00
fix
This commit is contained in:
parent
812f49a862
commit
14264bd20e
2 changed files with 1 additions and 4 deletions
|
@ -6,7 +6,7 @@ After=network.target
|
|||
Type=simple
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/server
|
||||
WorkingDirectory=__INSTALL_DIR__
|
||||
Environment="__YNH_NODE_LOAD_PATH__"
|
||||
Environment="NODE_ENV=production"
|
||||
ExecStart=__YNH_NPM__ start --prod
|
||||
|
|
|
@ -68,9 +68,6 @@ ynh_script_progression --message="Installing $app..." --weight=10
|
|||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install
|
||||
popd
|
||||
|
||||
pushd $install_dir/server
|
||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm run db:init
|
||||
popd
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue