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:
ericgaspar 2023-05-17 06:55:58 +02:00
parent 714792e9e0
commit 0662f33b96

View file

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