From e9cb3f17b7bd70310a31eaded99c5050f32ac70c Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 26 Feb 2021 22:50:38 +0100 Subject: [docs] format code chunks --- docs/debug.rst | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'docs/debug.rst') diff --git a/docs/debug.rst b/docs/debug.rst index c746cf6..c9daba6 100644 --- a/docs/debug.rst +++ b/docs/debug.rst @@ -12,24 +12,29 @@ stop the privileged helper. First, see if the helper is running: -pgrep bitmask-helper +.. code::bash + pgrep bitmask-helper To stop it: -sudo launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist +.. code::bash + sudo launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist To start it: -sudo launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist -sudo launchctl start /Library/LaunchDaemons/se.leap.bitmask-helper.plist +.. code::bash + sudo launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist + sudo launchctl start /Library/LaunchDaemons/se.leap.bitmask-helper.plist Check that it's running: -pgrep bitmask-helper +.. code::bash + pgrep bitmask-helper Manually check that the web api is running, and that it reports a version that matches what you currently have installed: -curl http://localhost:7171/version +.. code::bash + curl http://localhost:7171/version Also, you can check that the path near the end of the file /Library/LaunchDaemons/se.leap.bitmask-helper.plist matches the current path where you installed RiseupVPN.app. @@ -38,8 +43,9 @@ Cleaning up ~~~~~~~~~~~ If you have things messed up and you want to completely delete the bitmask-helper: -sudo launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist -sudo rm -rf /Library/LaunchDaemons/se.leap.bitmask-helper.plist +.. code::bash + sudo launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist + sudo rm -rf /Library/LaunchDaemons/se.leap.bitmask-helper.plist Make sure that "pgrep bitmask-helper" does not return any pid. -- cgit v1.2.3