summarylogtreecommitdiffstats
path: root/etherpad-lite.service
blob: 99bcf7d75cf8bb4919e05eebb8658f2084e38af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Unit]
Description=Etherpad-lite
Documentation=https://github.com/ether/etherpad-lite/wiki
After=syslog.target network.target

[Service]
Environment=NODE_ENV=production
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
ProtectHome=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
Restart=always

[Install]
WantedBy=multi-user.target