Last active
May 5, 2022 12:56
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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