Remove trailing whitespace, put systemd service installation under a subheading

This commit is contained in:
Sean DuBois 2016-03-14 01:07:01 +00:00
parent 3e2a54a130
commit e3181d02b6
1 changed files with 8 additions and 7 deletions

View File

@ -46,6 +46,7 @@ However, fail2rest is designed to run as a service, so init scripts are provided
Download the appropriate init file your Distribution. You may need to customize your init script to load your config.json, but most scripts default to /etc/fail2rest.json
##Service
###systemd
To run as a service you can either copy or create symlinks for systemd and the fail2rest binary. The systemd file shold be added to /etc/systemd/system/fail2rest.service and the the binary to /usr/bin/fail2rest. This scenario will use the symlinks in order to always use the latest files. You should run the commands with sudo if not logged in as root:
ln -s $GOPATH/bin/fail2rest /usr/bin/