From f834a0a262aff5f3c8b684e0f8362a8782c44132 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 23 Jul 2020 10:37:10 +0200 Subject: Initial commit --- mkosi.extra/etc/systemd/system/etherpad.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mkosi.extra/etc/systemd/system/etherpad.service (limited to 'mkosi.extra/etc/systemd/system/etherpad.service') diff --git a/mkosi.extra/etc/systemd/system/etherpad.service b/mkosi.extra/etc/systemd/system/etherpad.service new file mode 100644 index 0000000..edbf092 --- /dev/null +++ b/mkosi.extra/etc/systemd/system/etherpad.service @@ -0,0 +1,15 @@ +[Unit] +Description=Etherpad-lite, the collaborative editor. +After=syslog.target network.target + +[Service] +Type=simple +User=etherpad +Group=etherpad +WorkingDirectory=/opt/etherpad +Environment=NODE_ENV=production +ExecStart=/usr/bin/nodejs /opt/etherpad/node_modules/ep_etherpad-lite/node/server.js +Restart=always + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3