On Fri, Jan 17, 2014 at 1:49 PM, Eitan Eliahu <elia...@vmware.com> wrote: > > Do we specify full path when accessing files?
Is this comment for the following line? 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" If so, I have tried adding the location to PATH and that did not help. There may be a way, but I am not aware of it. > Thanks, > Eitan > > ----- Original Message ----- > From: "Gurucharan Shetty" <shet...@nicira.com> > To: "Ben Pfaff" <b...@nicira.com> > Cc: "dev" <dev@openvswitch.org>, "Saurabh Shah" <ssaur...@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 <b...@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 <gshe...@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@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 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev