summaryrefslogblamecommitdiffstats
path: root/roles/pad/templates/etherpad.service
blob: bcc45d15c928f5e474d25abbb9aec4038b0a74e2 (plain) (tree)
1
2

                       














                                                                               
# {{ ansible_managed }}

[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