summarylogtreecommitdiffstats
path: root/onlyoffice-docservice.service
diff options
context:
space:
mode:
authorVVL2021-08-12 02:47:36 +0300
committerVVL2021-08-12 02:47:36 +0300
commitea3feae0152ed08af7e0299ecbe3528c23f00514 (patch)
treef42f4f494510dd1538f0f58fd56864397df84f0b /onlyoffice-docservice.service
downloadaur-ea3feae0152ed08af7e0299ecbe3528c23f00514.tar.gz
Initial release
Diffstat (limited to 'onlyoffice-docservice.service')
-rw-r--r--onlyoffice-docservice.service21
1 files changed, 21 insertions, 0 deletions
diff --git a/onlyoffice-docservice.service b/onlyoffice-docservice.service
new file mode 100644
index 000000000000..0e0bbc0ce9cc
--- /dev/null
+++ b/onlyoffice-docservice.service
@@ -0,0 +1,21 @@
+[Unit]
+Description=Onlyoffice documentserver
+After=network.target
+
+[Service]
+User=onlyoffice
+Group=onlyoffice
+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