doc(serviceman): --agent instead of --user

This commit is contained in:
AJ ONeal
2024-12-12 00:05:55 +00:00
parent 3995b7e568
commit e2ad197067
5 changed files with 9 additions and 8 deletions

View File

@@ -66,7 +66,8 @@ To run them manually on your code;
jhint -c ./.jshintrc *.js */*.js
```
- fixjson \
(turns JavaScript Objects with comments, trailing commas, etc into actual json)
(turns JavaScript Objects with comments, trailing commas, etc into actual
json)
```sh
fixjson -i 2 -w ./package.json
```
@@ -229,7 +230,7 @@ Node app as a Non-System (Unprivileged) Service on Mac, Windows, and Linux:
```sh
my_username="$(id -u -n)"
serviceman add --user --name my-node-project -- \
serviceman add --agent --name my-node-project -- \
caddy run --config ./Caddyfile --envfile ~/.config/caddy/env
```