mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update systemd.service
This commit is contained in:
parent
565a777259
commit
861804fb99
1 changed files with 5 additions and 1 deletions
|
@ -9,8 +9,12 @@ Group=__APP__
|
|||
WorkingDirectory=__INSTALL_DIR__
|
||||
Environment=PATH=__ENV_PATH__
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=__YNH_NPM__ start
|
||||
ExecStart=__YNH_NPM__ __INSTALL_DIR__/server.js
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
StandardOutput=journal
|
||||
StandardError=journal+console
|
||||
LimitNOFILE=1000000
|
||||
|
||||
# Sandboxing options to harden security
|
||||
# Depending on specificities of your service/app, you may need to tweak these
|
||||
|
|
Loading…
Reference in a new issue