From c23fe8d5a4d8cb56be49248abc55610391ff4382 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 3 May 2020 04:45:10 +0000 Subject: [PATCH] update descriptions --- pathman/pathman.bash | 2 +- serviceman/serviceman.bash | 28 ++++++++++++++++++++++------ 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/pathman/pathman.bash b/pathman/pathman.bash index 1fa9396..09a8149 100644 --- a/pathman/pathman.bash +++ b/pathman/pathman.bash @@ -29,7 +29,7 @@ set -u # Get arch envs, etc my_url="https://rootprojects.org/pathman/dist/$(uname -s)/$(uname -m)/pathman" -curl -fL "$my_url" -o pathman +curl -fsSL "$my_url" -o pathman echo "" # Make executable chmod +x ./pathman diff --git a/serviceman/serviceman.bash b/serviceman/serviceman.bash index 5398521..13d3b3c 100644 --- a/serviceman/serviceman.bash +++ b/serviceman/serviceman.bash @@ -4,13 +4,29 @@ # homepage: https://git.rootprojects.org/root/serviceman # tagline: cross-platform service management for Linux, Mac, and Windows # description: | -# Works with -# - Launchd (macOS) -# - Systemd (Linux) -# - Windows Registry +# A system laucher that wraps `launchctl` (macOS), `systemctl` (Linux), +# and the Windows Registry to work cross-platform. # examples: | +# +# Works with anything, including +# +# ### Node.js +# # ```bash -# serviceman add --name my-service ./serve.js --port 3000 +# serviceman add --name my-service node ./serve.js --port 3000 +# ``` +# +# ### Golang +# +# ```bash +# go build -mod vendor cmd/my-service +# serviceman add ./my-service --port 3000 +# ``` +# +# ### And even bash! +# +# ```bash +# serviceman add --name backuper bash ./backup.sh /mnt/data # ``` set -e @@ -18,7 +34,7 @@ set -u # Get arch envs, etc my_url="https://rootprojects.org/serviceman/dist/$(uname -s)/$(uname -m)/serviceman" -curl -fL "$my_url" -o serviceman +curl -fsSL "$my_url" -o serviceman echo "" # Make executable chmod +x ./serviceman -- 2.25.1