def reload_systemd(): """Reload systemd configuration on systemd based installs """ if init_is_systemd(): subprocess.check_call(['systemctl', 'daemon-reload'])