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 10:46:12 +02:00
parent aff9a0dacf
commit 29c8de045d

View file

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