Skip to content

Instantly share code, notes, and snippets.

@fcsest
Last active May 5, 2022 12:56
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 fcsest/06288e04f064c1566c4e8f36e7f9c992 to your computer and use it in GitHub Desktop.
Save fcsest/06288e04f064c1566c4e8f36e7f9c992 to your computer and use it in GitHub Desktop.
Script to enable systemctl in ArchWSL(to restart ssh and docker services). p.s.: run as root(sudo su)
mv /usr/bin/systemctl /usr/bin/systemctl.old
curl https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl.py > /usr/bin/systemctl
chmod +x /usr/bin/systemctl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment