Playbooks to a new Lilik
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.

21 lines
632 B

  1. [Unit]
  2. Description=ONLYOFFICE DocumentServer - FileConverter
  3. After=network.target
  4. PartOf=onlyoffice-ds.target
  5. [Service]
  6. User=onlyoffice
  7. Type=simple
  8. Environment="LD_LIBRARY_PATH=/opt/onlyoffice/documentserver/server/FileConverter/bin" "NODE_ENV=production-linux" "NODE_CONFIG_DIR=/etc/onlyoffice/documentserver"
  9. ExecStart=/opt/onlyoffice/documentserver/server/FileConverter/converter
  10. WorkingDirectory=/var/lib/onlyoffice/documentserver
  11. LimitNOFILE=1048576
  12. LimitNPROC=64
  13. PrivateTmp=true
  14. PrivateDevices=true
  15. ProtectHome=true
  16. ProtectSystem=strict
  17. ReadWritePaths=/var/lib/onlyoffice/documentserver
  18. [Install]
  19. WantedBy=multi-user.target