mirror of
https://github.com/Sean-Der/fail2rest.git
synced 2024-12-22 21:52:18 +01:00
Remove trailing whitespace, put systemd service installation under a subheading
This commit is contained in:
parent
3e2a54a130
commit
e3181d02b6
1 changed files with 8 additions and 7 deletions
|
@ -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
|
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
|
##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:
|
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/
|
ln -s $GOPATH/bin/fail2rest /usr/bin/
|
||||||
|
|
Loading…
Reference in a new issue