ansible-roles/webapps/etherpad/templates/etherpad.service.j2
Mathieu Gauthier-Pilote b424d5d2d2
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
New role to install + upgrade Etherpad
2023-02-03 10:11:01 -05:00

18 lines
499 B
Django/Jinja

[Unit]
Description=Etherpad - open source online editor for real-time collaborative editing.
Documentation=https://etherpad.org/doc/v1.8.18/
After=network.target
After=mariadb.service
[Service]
Type=simple
Environment=NODE_ENV=production
ExecStart=/usr/bin/node --experimental-worker /home/{{service}}/etherpad-lite/node_modules/ep_etherpad-lite/node/server.js
Restart=always
User={{service}}
Group={{service}}
WorkingDirectory=/home/{{service}}/etherpad-lite
[Install]
WantedBy=multi-user.target