summarylogtreecommitdiffstats
path: root/onlyoffice-docservice.service
blob: 0e0bbc0ce9cc2a03a4a2fefa7ba354d3526e2f4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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