From f95897cf308c3e19d6fe4b088547d8290907e384 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 13 Jul 2019 21:14:32 -0600 Subject: [PATCH] show simple example sooner --- README.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f589378..801405c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,17 @@ # go-serviceman -A cross-platform service manager. +Cross-platform service management made easy. -Because debugging launchctl, systemd, etc absolutely sucks! +> sudo serviceman add --name foo ./serve.js --port 3000 -...and I wanted a reasonable way to install [Telebit](https://telebit.io) on Windows. -(see more in the **Why** section below) +> Success: "foo" started as a "launchd" SYSTEM service, running as "root" + +## Why? + +Because it sucks to debug launchctl, systemd, etc. + +Also, I wanted a reasonable way to install [Telebit](https://telebit.io) on Windows. +(see more in the **More Why** section below) ## Features @@ -33,7 +39,7 @@ Because debugging launchctl, systemd, etc absolutely sucks! - Debugging - Windows - Building -- Why +- More Why - Legal # Usage @@ -567,7 +573,7 @@ go build -mod=vendor -ldflags "-H=windowsgui" -o serviceman.exe go build -mod=vendor -o /usr/local/bin/serviceman ``` -# Why +# More Why I created this for two reasons: @@ -586,3 +592,4 @@ MPL-2.0 | Copyright 2019 AJ ONeal. +