Skip to content

Commit

Permalink
Don't run harvest as root on RHEL/Deb
Browse files Browse the repository at this point in the history
See also #122
  • Loading branch information
cgrinds committed Jun 7, 2021
1 parent 00eb06c commit b111b2a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ Download the latest rpm of [Harvest](https://github.com/NetApp/harvest/releases/

Once the installation has finished, edit the [harvest.yml configuration](#harvest-configuration) file located in `/opt/harvest/harvest.yml`

After editing `/opt/harvest/harvest.yml`, manage Harvest with `systemctl start|stop|restart harvest`
After editing `/opt/harvest/harvest.yml`, manage Harvest with `systemctl start|stop|restart harvest`.

> To ensure that you don't run into [permission issues](https://github.com/NetApp/harvest/issues/122#issuecomment-856138831), make sure you manage Harvest using `systemctl` instead of running the harvest binary directly.

### Changes install makes
* Directories `/var/log/harvest/` and `/var/log/run/` are created
Expand All @@ -77,7 +80,9 @@ Download the latest deb of [Harvest](https://github.com/NetApp/harvest/releases/

Once the installation has finished, edit the [harvest.yml configuration](#harvest-configuration) file located in `/opt/harvest/harvest.yml`

After editing `/opt/harvest/harvest.yml`, manage Harvest with `systemctl start|stop|restart harvest`
After editing `/opt/harvest/harvest.yml`, manage Harvest with `systemctl start|stop|restart harvest`.

> To ensure that you don't run into [permission issues](https://github.com/NetApp/harvest/issues/122#issuecomment-856138831), make sure you manage Harvest using `systemctl` instead of running the harvest binary directly.
### Changes install makes
* Directories `/var/log/harvest/` and `/var/log/run/` are created
Expand Down

0 comments on commit b111b2a

Please sign in to comment.