summarylogtreecommitdiffstats
path: root/etherpad-lite.service
blob: af4d3d1d4476deb5dccfd0d79683db5c6d75302a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Etherpad-lite
After=syslog.target network.target

[Service]
User=etherpad-lite
Group=etherpad-lite
StateDirectory=etherpad-lite
CacheDirectory=etherpad-lite
LogsDirectory=etherpad-lite
WorkingDirectory=/usr/share/etherpad-lite
ExecStart=/usr/bin/node /usr/share/etherpad-lite/src/node/server.js --settings /etc/etherpad-lite/settings.json
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true
Restart=always

[Install]
WantedBy=multi-user.target