minor doc update for PATH

This commit is contained in:
AJ ONeal 2019-08-05 04:47:27 -06:00
parent 76710d58fa
commit 6ec2de0602
1 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,7 @@ Also, I wanted a reasonable way to install [Telebit](https://telebit.io) on Wind
- node - node
- python - python
- ruby - ruby
- path - PATH
- Logging - Logging
- Debugging - Debugging
- Windows - Windows
@ -400,9 +400,9 @@ See **Using with scripts** for more detailed information.
</details> </details>
<details> <details>
<summary>Setting $PATH</summary> <summary>Setting PATH</summary>
You can set the `$PATH` for your service like this: You can set the `$PATH` (`%PATH%` on Windows) for your service like this:
```bash ```bash
sudo serviceman add ./myservice --path "/home/myuser/bin" sudo serviceman add ./myservice --path "/home/myuser/bin"
@ -416,6 +416,7 @@ sudo serviceman add ./myservice --path "$PATH"
Remember that this takes a snapshot and sets it in the configuration, it's not Remember that this takes a snapshot and sets it in the configuration, it's not
a live reference to your path. a live reference to your path.
</details> </details>
## Hints ## Hints