summarylogtreecommitdiffstats
path: root/outline.service
diff options
context:
space:
mode:
Diffstat (limited to 'outline.service')
-rw-r--r--outline.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/outline.service b/outline.service
new file mode 100644
index 000000000000..379d42dd4311
--- /dev/null
+++ b/outline.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Outline server
+After=network.target
+
+[Service]
+User=outline
+Group=outline
+
+Type=simple
+Environment="NODE_ENV=production-linux" "NODE_CONFIG_DIR=/etc/webapps/onlyoffice/documentserver"
+ExecStart=/usr/share/webapps/onlyoffice/documentserver/server/DocService/docservice
+WorkingDirectory=/var/lib/onlyoffice/documentserver
+LimitNOFILE=1048576
+LimitNPROC=64
+PrivateTmp=true
+PrivateDevices=true
+ProtectHome=true
+ProtectSystem=strict
+ReadWritePaths=/var/lib/onlyoffice/documentserver
+
+[Install]
+WantedBy=multi-user.target