summaryrefslogtreecommitdiffstats
path: root/roles/pad/templates/etherpad.service
blob: bcc45d15c928f5e474d25abbb9aec4038b0a74e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# {{ 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