diff --git a/kylin/hwweb/lib/systemd/system/hanvonwebscanserver.service b/kylin/hwweb/lib/systemd/system/hanvonwebscanserver.service new file mode 100755 index 0000000..2f66cd4 --- /dev/null +++ b/kylin/hwweb/lib/systemd/system/hanvonwebscanserver.service @@ -0,0 +1,15 @@ +[Unit] +Description=hanvon webscan service + +[Service] +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