From a287e741842f67d0a04c48276221d85f16079d55 Mon Sep 17 00:00:00 2001 From: Opal <847966@proton.me> Date: Sat, 15 Oct 2022 15:27:41 -0700 Subject: merging code between old emacsconf repo, to sachac's emacsconf repo --- roles/pad/templates/etherpad.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 roles/pad/templates/etherpad.service (limited to 'roles/pad/templates/etherpad.service') diff --git a/roles/pad/templates/etherpad.service b/roles/pad/templates/etherpad.service new file mode 100644 index 0000000..f8e947d --- /dev/null +++ b/roles/pad/templates/etherpad.service @@ -0,0 +1,15 @@ +[Unit] +Description=Etherpad +After=syslog.target network.target + +[Service] +Type=simple +User={{ etherpad_user }} +Group={{ etherpad_group }} +WorkingDirectory={{ etherpad_path }} +ExecStart=node {{ etherpad_path }}/node_modules/ep_etherpad-lite/node/server.js +Environment=NODE_ENV=production +Restart=always + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3