MCPcopy Create free account
hub / github.com/apache/cloudstack / service

Function service

systemvm/debian/opt/cloud/bin/cs/CsHelper.py:235–237  ·  view source on GitHub ↗
(name, op)

Source from the content-addressed store, hash-verified

233
234
235def service(name, op):
236 execute("systemctl %s %s" % (op, name))
237 logging.info("Service %s %s" % (name, op))
238
239
240def start_if_stopped(name):

Callers 1

hup_dnsmasqFunction · 0.70

Calls 2

executeFunction · 0.70
infoMethod · 0.45

Tested by

no test coverage detected