This commit is contained in:
yangjiaxuan 2024-05-21 16:09:37 +08:00
parent 27b5548f57
commit aa3fa3f3f6
1 changed files with 15 additions and 0 deletions

View File

@ -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