diff options
author | VVL | 2021-08-12 02:47:36 +0300 |
---|---|---|
committer | VVL | 2021-08-12 02:47:36 +0300 |
commit | ea3feae0152ed08af7e0299ecbe3528c23f00514 (patch) | |
tree | f42f4f494510dd1538f0f58fd56864397df84f0b /onlyoffice-docservice.service | |
download | aur-ea3feae0152ed08af7e0299ecbe3528c23f00514.tar.gz |
Initial release
Diffstat (limited to 'onlyoffice-docservice.service')
-rw-r--r-- | onlyoffice-docservice.service | 21 |
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 |