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

Update systemd.service

This commit is contained in:
Éric Gaspar 2024-05-09 18:31:11 +02:00
parent 0ab95a89b1
commit 3c30c09b27

View file

@ -7,9 +7,11 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
Environment=ETHERPAD_PRODUCTION=true
Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=pnpm run prod
ExecStart=__INSTALL_DIR__/bin/run.sh
#ExecStart=pnpm run prod
Restart=always
# Sandboxing options to harden security