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