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:
ericgaspar 2023-12-11 07:36:02 +01:00
parent d9cc8b8203
commit b77a139202

View file

@ -1,12 +1,13 @@
[Unit]
Description=Etherpad-lite: collaborative editor
After=syslog.target network.target postgresql.service
After=syslog.target network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__
WorkingDirectory=__INSTALL_DIR__/
Environment=ETHERPAD_PRODUCTION=true
Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__INSTALL_DIR__/src/bin/run.sh