add webi dat dat dat
[webi-installers/.git] / serviceman / README.md
index 20fa8d981435c3e55bc79f2ea7eaecea491c332a..ba9d16b29d9fa5604bdc778c8989653737c807eb 100644 (file)
@@ -3,21 +3,39 @@ title: Serviceman
 homepage: https://git.rootprojects.org/root/serviceman
 tagline: |
   Serviceman: cross-platform service management for Linux, Mac, and Windows.
-description: |
-  Serviceman is a hassle-free wrapper around your system launcher. It works with the default system launcher to make it easy to start _user_- and _system_-level services, such as webservers, backup scripts, network and system tools, etc.
-
-  Supports
-    - `launchctl` (macOS)
-    - `systemctl` (Linux)
-    - The Registry (Windows)
 ---
 
+## Updating `serviceman`
+
+```bash
+webi serviceman@stable
+```
+
+## Cheat Sheet
+
+> Serviceman is a hassle-free wrapper around your system launcher. It works with
+> the default system launcher to make it easy to start _user_- and
+> _system_-level services, such as webservers, backup scripts, network and
+> system tools, etc.
+
+Supports
+
+- `launchctl` (macOS)
+- `systemctl` (Linux)
+- The Registry (Windows)
+
 Serviceman can run an app in just about any programming language very simply.
 
 If you'd like to learn what `serviceman` does without actually making changes,
 add the `--dryrun` option.
 
-### Node.js
+### Example: Bash
+
+```bash
+sudo env PATH="$PATH" serviceman add bash ./backup.sh /mnt/data
+```
+
+### Example: Node.js
 
 **Development Server**
 
@@ -39,7 +57,7 @@ sudo env PATH="$PATH" \
     npm start
 ```
 
-### Golang
+### Example: Golang
 
 ```bash
 pushd ./my-go-package/
@@ -58,12 +76,6 @@ sudo env PATH="$PATH" \
     ./my-service --port 80
 ```
 
-### And even bash!
-
-```bash
-sudo env PATH="$PATH" serviceman add bash ./backup.sh /mnt/data
-```
-
 ### How to see all services
 
 ```bash