summarylogtreecommitdiffstats
path: root/etherpad-lite.service
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad-lite.service')
-rw-r--r--etherpad-lite.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/etherpad-lite.service b/etherpad-lite.service
new file mode 100644
index 000000000000..4732e3086c3c
--- /dev/null
+++ b/etherpad-lite.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Etherpad-Lite server
+After=syslog.target network.target
+
+[Service]
+Type=simple
+User=etherpad
+Group=etherpad
+WorkingDirectory=/var/lib/etherpad-lite
+ExecStart=/usr/share/webapps/etherpad-lite/bin/run.sh
+Restart=always
+
+[Install]
+WantedBy=multi-user.target