systemctl daemon-reload should be inside the module
This commit is contained in:
parent
8fdfd1b8ea
commit
e85c3b1dc2
1 changed files with 3 additions and 4 deletions
|
|
@ -71,7 +71,6 @@ def run_madmail_installer():
|
||||||
child.sendline("y")
|
child.sendline("y")
|
||||||
child.expect(pexpect.EOF)
|
child.expect(pexpect.EOF)
|
||||||
|
|
||||||
|
daemon_reload = run(["sudo", "systemctl", "daemon-reload"], capture_output=True, text=True)
|
||||||
daemon_reload = run(["sudo", "systemctl", "daemon-reload"], capture_output=True, text=True)
|
if daemon_reload.returncode != 0:
|
||||||
if daemon_reload.returncode != 0:
|
|
||||||
print(f"Issue running systemctl daemon_reload")
|
print(f"Issue running systemctl daemon_reload")
|
||||||
Loading…
Add table
Add a link
Reference in a new issue