Sean-Der / fail2rest

REST server for fail2ban
107 stars 24 forks source link

New service to run fail2rest as a linux service #6

Closed djengineerllc closed 10 years ago

djengineerllc commented 10 years ago

New service to run fail2rest as a linux service

Make sure to update the DIR=/var/www/fail2rest to wherever fail2rest is installed on the server.

Sean-Der commented 10 years ago

Would you mind labeling this init script as what distro you are using it on? fail2rest_service/Debian etc..

I also had the following bookmarked http://wiki.colar.net/golang_revel_init_script#.U7XJa41dVy8 it might be helpful to allow people to configure things like GOPATH and GOROOT ?

djengineerllc commented 10 years ago

This will be the next thing I work on.

Sean-Der commented 10 years ago

Awesome! Thank you very much @djengineerllc I would just make the changes on this branch, and feel free to change the history how ever you need you will not have a merge commit when it comes into master

Sean-Der commented 10 years ago

Implemented by 736f685913d5454888b35e672834e311f682fd74, I still need to add a Upstart and Systemd init script