.net Core Publishing Service

   .net core publishing services

      Ready files can be operated by following a few commands

   1. Create a Service   

                sc create "service name" binPath = "File path + filename" // Note the equal sign is in close contact with binPath

    2, check the service status

               sc query "service name"

    3, start the service

               sc start "service name"

    4, out of service

               sc stop "service name"

    5. Delete Service

               sc delete "Service Name" 

 

Guess you like

Origin www.cnblogs.com/ljknlb/p/11688309.html