1
0
Fork 0
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:
Éric Gaspar 2024-05-29 17:48:13 +02:00
parent 1ff19ca33f
commit 60272efae3

View file

@ -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