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 16:16:49 +02:00
parent 00eb604dd0
commit 239b1f8653

View file

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