summaryrefslogblamecommitdiffstats
path: root/roles/pad/templates/etherpad.service
blob: f8e947dd57d183f3150dd9d9724c8fc0d53604d9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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