summarylogtreecommitdiffstats
path: root/onlyoffice-spellchecker.service
blob: 3ff2a661f9d70e62bc726ca296a810cd64d2918f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Onlyoffice documentserver
After=network.target

[Service]
User=onlyoffice
Type=simple
Environment="NODE_ENV=production-linux" "NODE_CONFIG_DIR=/etc/webapps/onlyoffice/documentserver"
ExecStart=/usr/share/webapps/onlyoffice/documentserver/server/SpellChecker/spellchecker
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