alexsilva / supervisor

Supervisor process control system for Windows
http://supervisord.org
Other
118 stars 26 forks source link

Custom service name? #15

Closed billythekids closed 4 years ago

billythekids commented 4 years ago

Is there any argument for service's name that i can specify when i install new service ?

alexsilva commented 4 years ago

Not in the moment. It still needs to be done.

alexsilva commented 4 years ago

Working in progress 1d6a3b03

alexsilva commented 4 years ago

You can test the new functionality by updating your version of the supervisor with the following command:

python -m pip install git+https://github.com/alexsilva/supervisor.git@windows -U

Once this is done, it is important to uninstall previous versions of the service: python -m supervisor.services remove

Then just install the new service with the desired name:

python -m supervisor.services install -c "{path}\supervisor.conf" -sn MyServiceName -sdn MyServiceDisplayName

-sn - It is the name of the service -sdn - It is the service's display name.