summarylogtreecommitdiffstats
path: root/etherpad-lite.service
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad-lite.service')
-rw-r--r--etherpad-lite.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/etherpad-lite.service b/etherpad-lite.service
index af4d3d1d4476..99bcf7d75cf8 100644
--- a/etherpad-lite.service
+++ b/etherpad-lite.service
@@ -1,8 +1,10 @@
[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
@@ -13,6 +15,9 @@ ExecStart=/usr/bin/node /usr/share/etherpad-lite/src/node/server.js --settings /
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true
+ProtectHome=yes
+ProtectControlGroups=yes
+ProtectKernelModules=yes
Restart=always
[Install]