blob: 3f0aa5161d62216112bf912ebf4be36fb41e5cba (
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" "PKG_NATIVE_CACHE_PATH=/tmp/.cache"
ExecStart=/usr/share/webapps/onlyoffice/documentserver/server/DocService/docservice
WorkingDirectory=/var/lib/onlyoffice/documentserver
LimitNOFILE=1048576
LimitNPROC=128
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=/var/lib/onlyoffice/documentserver
[Install]
WantedBy=multi-user.target
|