Skip to content

Commit

Permalink
Installation instructions update
Browse files Browse the repository at this point in the history
  • Loading branch information
leoleovich committed Jul 14, 2017
1 parent 4772035 commit 2a4dab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ This will let you to exclude node from LBpool.
- Clone this project to src: ```go get github.com/leoleovich/clusterhc```
- Fetch dependencies: ```cd /opt/go/github.com/leoleovich/clusterhc && go get ./...```
- Compile project: ```go install github.com/leoleovich/clusterhc```
- Copy config file: ```mkdir /etc/clusterhc && cp /opt/go/src/github.com/leoleovich/clusterhc/clusterhc.toml /etc/clusterhc/```
- Copy config file: ```mkdir /etc/clusterhc /var/log/clusterhc && cp /opt/go/src/github.com/leoleovich/clusterhc/clusterhc.toml /etc/clusterhc/```
- Run it ```/opt/go/bin/clusterhc```

# Optional systemd service
- Create systemd service: ```cp /opt/go/src/github.com/leoleovich/clusterhc/clusterhc.service /usr/lib/systemd/system```
- Reload systemd: ```systemctl daemon-reload```
- Start clusterhc service: ```systemctl start clusterhc.service```
- Check status: ```systemctl status clusterhc.service```
- Check status: ```systemctl status clusterhc.service```

0 comments on commit 2a4dab7

Please sign in to comment.