MCPcopy Create free account
hub / github.com/apache/mesos / daemonReload

Function daemonReload

src/linux/systemd.cpp:283–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282
283Try<Nothing> daemonReload()
284{
285 Try<string> daemonReload = os::shell("systemctl daemon-reload");
286 if (daemonReload.isError()) {
287 return Error("Failed to reload systemd daemon: " + daemonReload.error());
288 }
289
290 return Nothing();
291}
292
293namespace slices {
294

Callers 1

createFunction · 0.85

Calls 5

NothingClass · 0.85
errorMethod · 0.65
shellFunction · 0.50
ErrorFunction · 0.50
isErrorMethod · 0.45

Tested by

no test coverage detected