1
0
mirror of https://github.com/elisspace/etherpad.git synced 2026-08-29 15:43:58 +00:00
Files
etherpad/etherpad.service
2022-04-01 18:52:08 +00:00

26 lines
587 B
Desktop File

# place in /etc/systemd/system/etherpad.service
# then run the following commands:
### sudo systemctl daemon-reload
### sudo systemctl enable etherpad
### sudo systemctl start etherpad
# and check via
### sudo systemctl status etherpad
[Unit]
Description=Etherpad-lite, the collaborative editor.
After=syslog.target network.target
[Service]
Type=simple
User=etherpad
Group=etherpad
WorkingDirectory=/opt/etherpad/etherpad-lite
Environment=NODE_ENV=production
ExecStart=/usr/bin/node /opt/etherpad/etherpad-lite/src/node/server.js
Restart=always
[Install]
WantedBy=multi-user.target