dpkg/kylin/hwweb/lib/systemd/system/hanvonwebscanserver.service

19 lines
372 B
SYSTEMD
Executable File

[Unit]
Description=hanvon webscan service
[Service]
Environment=LD_LIBRARY_PATH=/opt/hanvonwebscan/bin
Type=forking
User=root
ExecStart=/opt/hanvonwebscan/bin/server.sh start
ExecStop=/opt/hanvonwebscan/bin/server.sh stop
ExecReload=/opt/hanvonwebscan/bin/server.sh restart
Restart=always
RestartSSec=10
[Install]
WantedBy=multi-user.target
Alias=hanvonwebscanserver