Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve service init script and logs #147

Merged
merged 3 commits into from
Sep 26, 2022
Merged

Commits on Sep 26, 2022

  1. Improve service init script and logs

    - Fixed init service script to allow proper 'start' and 'stop' actions consistently.
      I kept struggling that service start only worked after killing the distro because
      sometimes it didn't start/stop properly leaving processes running and without pid
      file
    - Added service 'status' action
    - Added additional service debug by setting environment variable DEBUG, ie:
      wsl.exe -d wsl-vpnkit DEBUG=1 service wsl-vpnkit stop
    - Changed order in startup welcome screen having stop followed by start,
      this makes it easier for users to just copy/paste from welcome screen to have
      service running
    - Added log check command to see only the latest service execution logs
    josesa-xx authored and sakai135 committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    9ab4b10 View commit details
    Browse the repository at this point in the history
  2. Added service restart

    - Added to README how to do start with status firt and how to enable DEBUG
    - Run tests twice with and without DEBUG enabled
    josesa-xx authored and sakai135 committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    1159cf2 View commit details
    Browse the repository at this point in the history
  3. Split build and test scripts

    josesa-xx authored and sakai135 committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    21bdf0f View commit details
    Browse the repository at this point in the history