update descriptions
authorAJ ONeal <aj@therootcompany.com>
Sun, 3 May 2020 04:45:10 +0000 (04:45 +0000)
committerAJ ONeal <aj@therootcompany.com>
Sun, 3 May 2020 04:45:10 +0000 (04:45 +0000)
pathman/pathman.bash
serviceman/serviceman.bash

index 1fa9396cc18817e86967d924be4832c6fd9b7479..09a81492d100baa5b6e86ee4ac6dd7847535cf88 100644 (file)
@@ -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
index 539852134df0e47bc93a836590ecf5a90fb7f1ed..13d3b3c407ebd9a86f9944053d4398d254ec385a 100644 (file)
@@ -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