Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
235
def
service(name, op):
236
execute(
"systemctl %s %s"
% (op, name))
237
logging.info(
"Service %s %s"
% (name, op))
238
239
240
def
start_if_stopped(name):
Callers
1
hup_dnsmasq
Function · 0.70
Calls
2
execute
Function · 0.70
info
Method · 0.45
Tested by
no test coverage detected