/etc/systemd/system/abbyy-licence.service
[Unit] Description=ABBYY-OCR Licence Service After=network.target network-online.target [Service] Type=simple ExecStart=/opt/ABBYYOCR11/abbyy-fre11-licensing-service start # Give a reasonable amount of time for the server to start up/shut down TimeoutSec=300 [Install] WantedBy=multi-user.target
[Unit]
Description=ABBYY-OCR Licence Service
After=network.target network-online.target
[Service]
Type=forking
Environment=LD_LIBRARY_PATH=/opt/ABBYYOCR11:/usr/local/lib/ABBYY/SDK/11/Licensing
ExecStart=/usr/local/bin/ABBYY/SDK/11/Licensing/LicensingService -start
ExecStop=/usr/local/bin/ABBYY/SDK/11/Licensing/LicensingService -stop
WorkingDirectory=/usr/local/lib/ABBYY/SDK/11/Licensing
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300
[Install]
WantedBy=multi-user.target