Forum Discussion
Ionut_Turturic1
Mar 05, 2010Historic F5 Account
System.Services.set_service not working with HTTPD
Any idea why the System.Services.set_service has absolutely no effect with SERVICE_HTTPD ? No exception is thrown, no error messages in logs.
It does work for mostly all other services!
...
L4L7_53191
Nimbostratus
Mar 05, 2010I haven't had time to test this, but for sure you're missing some kwargs in your set_service call - it expects two: services and service_action. Your call should look something like:
pc.System.Services.set_service(services=[service], service_action=action)
Also note that it's asynchronous: the call may return before the actual job is done.
-Matt
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects