Updated macOS installation instructions (#4791)
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>pull/4836/head^2
parent
d8a51137e6
commit
e889723904
|
@ -235,13 +235,9 @@ brew update
|
|||
brew install telegraf
|
||||
```
|
||||
|
||||
To have launchd start telegraf at next login:
|
||||
To start telegraf now and restart at login:
|
||||
```
|
||||
ln -sfv /usr/local/opt/telegraf/*.plist ~/Library/LaunchAgents
|
||||
```
|
||||
To load telegraf now:
|
||||
```
|
||||
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.telegraf.plist
|
||||
brew services start telegraf
|
||||
```
|
||||
|
||||
Or, if you don't want/need launchctl, you can just run:
|
||||
|
|
Loading…
Reference in New Issue