Updated macOS installation instructions (#4791)

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
pull/4836/head^2
L1Cafe 2023-03-29 23:17:33 +02:00 committed by GitHub
parent d8a51137e6
commit e889723904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -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: