From aa3fa3f3f620659cae9cd292bf8d947def7d3893 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 21 May 2024 16:09:37 +0800 Subject: [PATCH] wei tiao --- .../systemd/system/hanvonwebscanserver.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 kylin/hwweb/lib/systemd/system/hanvonwebscanserver.service 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