Etherpad Lite (Debian)

Aus MattWiki
Version vom 11. Dezember 2015, 21:41 Uhr von Matt (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Anleitung für Etherpad Lite auf Debian 8 mit systemd == Installation als Dienst == Create a user called etherpad-lite adduser --system --home=/srv/etherpa…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Anleitung für Etherpad Lite auf Debian 8 mit systemd

Installation als Dienst

Create a user called etherpad-lite

adduser --system --home=/srv/etherpad-lite --group etherpad-lite

Ensure the etherpad-lite user has full access to the etherpad-lite source.

Create a new file etherpad-lite.service in /etc/systemd/system/

[Unit]
Description=etherpad-lite (real-time collaborative document editing)
After=syslog.target network.target 

[Service]
Type=simple
User=etherpad-lite
Group=etherpad-lite
ExecStart=/srv/etherpad-lite/bin/run.sh

[Install]
WantedBy=multi-user.target


Run

systemctl enable etherpad-lite

to enable the service on boot.


Dienststeuerung

systemctl start etherpad-lite         # start the service

NB: might need to change "/srv/etherpad-lite/bin/run.sh" with "/bin/sh /srv/etherpad-lite/bin/run.sh" according to configuration