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
1ff19ca33f
commit
60272efae3
1 changed files with 3 additions and 1 deletions
|
@ -8,10 +8,12 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__
|
WorkingDirectory=__INSTALL_DIR__
|
||||||
Environment=PATH=__YNH_NODE_LOAD_PATH__
|
Environment=PATH=__YNH_NODE_LOAD_PATH__
|
||||||
Environment=NODE_ENV=production
|
#Environment=NODE_ENV=production
|
||||||
Environment='PWD="__INSTALL_DIR__"'
|
Environment='PWD="__INSTALL_DIR__"'
|
||||||
ExecStart=__YNH_NPM__ start
|
ExecStart=__YNH_NPM__ start
|
||||||
|
#ExecStart=__YNH_NPM__ __INSTALL_DIR__/server.js
|
||||||
Restart=always
|
Restart=always
|
||||||
|
LimitNOFILE=1000000
|
||||||
|
|
||||||
# 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