[ovs-dev] [PATCH 3/4] daemon-windows: Ability to handle windows service calls.

Eitan Eliahu eliahue at vmware.com
Fri Jan 17 21:49:15 UTC 2014


Do we specify full path when accessing files?
Thanks,
Eitan

----- Original Message -----
From: "Gurucharan Shetty" <shettyg at nicira.com>
To: "Ben Pfaff" <blp at nicira.com>
Cc: "dev" <dev at openvswitch.org>, "Saurabh Shah" <ssaurabh at nicira.com>
Sent: Friday, January 17, 2014 1:24:10 PM
Subject: Re: [ovs-dev] [PATCH 3/4] daemon-windows: Ability to handle windows service calls.

On Fri, Jan 17, 2014 at 1:11 PM, Ben Pfaff <blp at nicira.com> wrote:
> On Fri, Jan 17, 2014 at 12:26:22PM -0800, Gurucharan Shetty wrote:
>> The following code does not add any users yet.
>>
>> The visioned workflow that this piece of code should work with is:
>> * Create a windows service through a startup script with
>> a tool like 'sc'
>> ex:  sc create ovsdb-server binpath=
>>  "C:\openvswitch\usr\sbin\ovsdb-server.exe -vconsole:off
>> -vsyslog:off -vfile:info --remote=ptcp:6632:127.0.0.1 --log-file
>> --service-monitor --service"
>>
>> * Start the service from the startup script.
>> ex: sc start ovsdb-server
>>
>> * Terminate the service during shutdown process.
>> ex: sc stop ovsdb-server
>>
>> * Abrupt termination will restart the service.
>>
>> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
>
> I'm OK with this approach.  Should we get someone who knows Windows to
> review the details?
Okay. I am CCing Alin, Saurabh and Linda for comments.
_______________________________________________
dev mailing list
dev at openvswitch.org
https://urldefense.proofpoint.com/v1/url?u=http://openvswitch.org/mailman/listinfo/dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=yTvML8OxA42Jb6ViHe7fUXbvPVOYDPVq87w43doxtlY%3D%0A&m=5OP49mfaToyj9W%2FOj5n3pHsAoVIDeahmkRzIrr2dvD8%3D%0A&s=24a4078e13e71297c14609b8fa92380e56d9b8d8c3b816bae28e252184e46a90



More information about the dev mailing list