Skip to content

Instantly share code, notes, and snippets.

@ericbaranowski
Created October 1, 2019 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericbaranowski/3f66ff452f9e99668571a5ef5f96f3a0 to your computer and use it in GitHub Desktop.
Save ericbaranowski/3f66ff452f9e99668571a5ef5f96f3a0 to your computer and use it in GitHub Desktop.
restart_clearlinux_services.sh
#!/bin/sh
sudo systemctl --no-ask-password try-restart containerd.service
sudo systemctl --no-ask-password try-restart systemd-networkd.service
sudo systemctl --no-ask-password try-restart kvp.service
sudo systemctl --no-ask-password try-restart kubelet.service
sudo systemctl --no-ask-password try-restart libvirtd.service
sudo systemctl --no-ask-password try-restart vss.service
sudo systemctl --no-ask-password try-restart systemd-machined.service
sudo systemctl --no-ask-password try-restart waagent.service
sudo systemctl --no-ask-password try-restart journal-probe.service
sudo systemctl --no-ask-password try-restart dbus.service
sudo systemctl --no-ask-password try-restart systemd-logind.service
echo done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment