diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-12 20:39:53 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-12 20:39:53 -0400 |
commit | 4b22599255be2095a235d1e962ccd3e05eadfbed (patch) | |
tree | 7140cd0e160ba179a044b65e02c36476ac9f1e07 /pad/templates/etherpad.service | |
parent | f8b119744e9b0b72b0ca38154eb2ef0c538d4ebb (diff) | |
download | emacsconf-ansible-4b22599255be2095a235d1e962ccd3e05eadfbed.tar.xz emacsconf-ansible-4b22599255be2095a235d1e962ccd3e05eadfbed.zip |
Add Etherpad service doc
Diffstat (limited to '')
-rw-r--r-- | pad/templates/etherpad.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pad/templates/etherpad.service b/pad/templates/etherpad.service new file mode 100644 index 0000000..f8e947d --- /dev/null +++ b/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 |