forked from Git/send_ynh
fix
This commit is contained in:
parent
e625a5bf7a
commit
1a6a57084e
@ -8,7 +8,7 @@ User=__APP__
|
|||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
Environment="NODE_ENV=production"
|
Environment="NODE_ENV=production"
|
||||||
#Environment="__YNH_NODE_LOAD_PATH__"
|
Environment="__YNH_NODE_LOAD_PATH__"
|
||||||
ExecStart=__YNH_NODE__ __INSTALL_DIR__/server/bin/prod.js
|
ExecStart=__YNH_NODE__ __INSTALL_DIR__/server/bin/prod.js
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ chown $app: "$install_dir/server/config.js"
|
|||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
||||||
|
|
||||||
|
env_path="$PATH"
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user