[autopatch] Automatic patch attempt for helpers 2.1

This commit is contained in:
Yunohost-Bot
2024-08-31 02:59:44 +02:00
committed by Alexandre Aubin
parent db8a12531e
commit 5f46cd0123
9 changed files with 84 additions and 142 deletions

View File

@ -8,8 +8,8 @@ User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__YNH_NODE__ __INSTALL_DIR__/server/bin/prod.js
Environment="PATH=__PATH_WITH_NODEJS__"
ExecStart=__NODEJS_DIR__/node __INSTALL_DIR__/server/bin/prod.js
Restart=always
# Sandboxing options to harden security