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:
parent
714792e9e0
commit
0662f33b96
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue