You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
549 B
23 lines
549 B
[Unit]
|
|
Description=Only Office spell checker
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/var/www/onlyoffice/documentserver/server/SpellChecker/spellchecker
|
|
WorkingDirectory=/var/www/onlyoffice/documentserver/server/SpellChecker/
|
|
User=ds
|
|
Group=ds
|
|
Environment=NODE_ENV=oods
|
|
Environment=NODE_CONFIG_DIR=/etc/onlyoffice/documentserver
|
|
Environment=NODE_DISABLE_COLORS=1
|
|
Restart=always
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
ProtectSystem=full
|
|
ProtectHome=yes
|
|
NoNewPrivileges=yes
|
|
MemoryLimit=200M
|
|
SyslogIdentifier=oods-spellchecker
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|