Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceph/ceph
/ restart_apache
Function
restart_apache
qa/tasks/devstack.py:288–289 ·
view source on GitHub ↗
(node)
Source
from the content-addressed store, hash-verified
286
287
288
def
restart_apache(node):
289
node.run(args=[
'sudo'
,
'/etc/init.d/apache2'
,
'restart'
], wait=True)
290
291
292
@contextlib.contextmanager
Callers
1
configure_devstack_and_ceph
Function · 0.85
Calls
1
run
Method · 0.45
Tested by
no test coverage detected