mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2024-11-24 23:11:36 +01:00
fix
This commit is contained in:
parent
e625a5bf7a
commit
1a6a57084e
@ -8,7 +8,7 @@ User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
Environment="NODE_ENV=production"
|
||||
#Environment="__YNH_NODE_LOAD_PATH__"
|
||||
Environment="__YNH_NODE_LOAD_PATH__"
|
||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/server/bin/prod.js
|
||||
Restart=always
|
||||
|
||||
|
@ -73,6 +73,7 @@ chown $app: "$install_dir/server/config.js"
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
||||
|
||||
env_path="$PATH"
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user