--- pyanaconda/iutil.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/pyanaconda/iutil.py b/pyanaconda/iutil.py index 5a3f4b4..69ad6bf 100644 --- a/pyanaconda/iutil.py +++ b/pyanaconda/iutil.py @@ -1036,6 +1036,9 @@ def start_service(service): def stop_service(service): return _run_systemctl("stop", service) +def restart_service(service): + return _run_systemctl("restart", service) + def service_running(service): ret = _run_systemctl("status", service) -- 1.7.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list