X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/58c02d302cb6d9f45e16a4bf5c9e9697b3ee328c..0aacb9f875a40b18dfbbc01b705b5337bf872368:/roles/etherpad/templates/etherpad-lite.service diff --git a/roles/etherpad/templates/etherpad-lite.service b/roles/etherpad/templates/etherpad-lite.service new file mode 100644 index 0000000..3673f30 --- /dev/null +++ b/roles/etherpad/templates/etherpad-lite.service @@ -0,0 +1,14 @@ +[Unit] +Description=etherpad-lite (real-time collaborative document editing) +After=syslog.target network.target + +[Service] +Type=simple +User=nodejs +Group=nogroup +Environment=NODE_ENV=production +ExecStart=/srv/{{etherpad.domain}}/etherpad-lite/bin/run.sh +Restart=on-failure + +[Install] +WantedBy=multi-user.target