1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hat_ynh.git synced 2024-09-03 19:16:04 +02:00

Update systemd.service

This commit is contained in:
Éric Gaspar 2023-05-02 14:42:09 +02:00
parent 122948145e
commit c6dbfba3a1

View file

@ -6,11 +6,11 @@ After=network.target
Type=simple
User=__APP__
Group=__APP__
Environment="NODE_PORT=__PORT__"
#Environment="NODE_PORT=__PORT__"
WorkingDirectory=__INSTALL_DIR__/
Environment=PATH=__ENV_PATH__
Environment=NODE_ENV=production
ExecStart=__YNH_NPM__ run start
#Environment=NODE_ENV=production
ExecStart=__YNH_NPM__ run start -p __PORT__
# Sandboxing options to harden security
# Depending on specificities of your service/app, you may need to tweak these