wine-sc
Create, query, and control Windows services in a Wine prefix. tldr-pages
On Linux
Linux
Create, query, and control Windows services in a Wine prefix. A reimplementation of the Windows sc service control command.
Query the status of a service
wine sc query service_nameIdentifyCreate a new service from an executable (note the space after binpath=)
wine sc create service_name binpath= C:\path\to\service.exeIdentifyStart or stop a service
wine sc start service_nameIdentifySet the description of a service
wine sc description service_name "description_text"IdentifyDelete a service
wine sc delete service_nameIdentifyDisplay help
wine sc /?Identify