1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Fix service

This commit is contained in:
tituspijean 2024-06-07 21:24:02 +02:00
parent 939a80a8e0
commit 5c5826b246
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -9,8 +9,10 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
Environment="NODE_ENV=production" Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=pnpm run prod ExecStart=__NODEJS_PATH__/pnpm run prod
Restart=always Restart=always
StandardOutput=append:/var/log/etherpad/etherpad.log
StandardError=inherit
# 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