Commit Graph

138 Commits (gh-3497)

Author SHA1 Message Date
Sergey G. Brester ea7bbb4757
Merge pull request #2182 from orlitzky/openrc-improvements
3 years ago
Michael Orlitzky 78dddb75e6 files/fail2ban-openrc.init.in: add a comment about @RUNDIR@ in the future.
4 years ago
Michael Orlitzky 4d2841832c files/fail2ban-openrc.init.in: don't restart() with a broken config.
4 years ago
Michael Orlitzky 87e9cff065 files/fail2ban-openrc.init.in: remove redundant "return" from start_pre.
4 years ago
Michael Orlitzky 36a7abe82f files/fail2ban-openrc.init.in: mention that "reload" doesn't drop bans.
4 years ago
Michael Orlitzky dd0f348757 files/fail2ban-openrc.init: replace @BINDIR@ at build-time.
4 years ago
Michael Orlitzky e6a9f109c5 files/fail2ban-openrc.init: force the socket location in the service script.
4 years ago
Michael Orlitzky 4e7419e71f files/fail2ban-openrc.conf: add back the "-x" example.
4 years ago
Michael Orlitzky 654fda8a50 files/fail2ban-openrc*: let start-stop-daemon manage the server.
4 years ago
Michael Orlitzky 80b1007a8f files/fail2ban-openrc.init: remove the "showlog" command.
4 years ago
sebres 7e3061e7ac fail2ban.service systemd unit template: don't add user site directory to python system path (avoids accessing of `/root/.local` directory, prevents SE linux audit warning at daemon startup, gh-2688)
5 years ago
Sergey G. Brester d5a5efcd5a
amend to #2174 for fail2ban.service, fix legacy path, closes gh-2474
5 years ago
Sergey G. Brester 0e5ce68d4c
Merge pull request #2348 from szepeviktor/deb-initd-retry
6 years ago
Eli Schwartz ebf2f28294 tmpfiles.d: don't use legacy directory path
6 years ago
Viktor Szépe 824afbf52d Fix whitespaces
6 years ago
Viktor Szépe 24b0e048d1 Normalizing quote usage in initd
6 years ago
Yaroslav Halchenko 62f957973d ENH: disable shell check for $DAEMON_ARGS expansion
6 years ago
Viktor Szépe dfd2a2063d Safer, nicer, uniform Debian initd script
6 years ago
Sergey G. Brester 67247999ff
closes #2313: missing dependency to nftables.service
6 years ago
Yaroslav Halchenko ae359f6f05 BF: $value not $code
6 years ago
Yaroslav Halchenko 298f2c066a BF: account that now code 255 is the one to say "it is Ok, we are already running/stopped"
6 years ago
Yaroslav Halchenko f323eceec7 BF: debian-initd, exit with exit code in logend_msg_wrapper
6 years ago
Michael Orlitzky c8ed0e0d91 files/fail2ban-openrc.init: use the standard OpenRC "retry" variable.
6 years ago
Michael Orlitzky e0097aefb9 files/fail2ban-openrc.init: use RC_SVCNAME instead of hard-coding the name.
6 years ago
Michael Orlitzky 0b146208eb files/fail2ban-openrc.init: move pre-flight checks into start_pre().
6 years ago
Michael Orlitzky 115024d14a files/fail2ban-openrc.init: use a variable for the pid file location.
6 years ago
Michael Orlitzky bc4a742e32 files/fail2ban-openrc.init: replace FAIL2BAN with standard OpenRC variables.
6 years ago
Michael Orlitzky af24c52558 files/fail2ban-openrc.init: change "need logger" dependency to "use logger".
6 years ago
Michael Orlitzky 64ec399542 files/fail2ban-openrc.init: drop "need net" dependency.
6 years ago
Michael Orlitzky eb58e90ba9 files/fail2ban-openrc.conf: remove a commented example setting.
6 years ago
Michael Orlitzky 1cec3d05b8 files/fail2ban-openrc.conf: remove hard-coded paths.
6 years ago
Michael Orlitzky 884f708bd7 fail2ban/files: rename "gentoo" files to "openrc".
6 years ago
sebres f31195a4fc added new logtarget "SYSOUT" to log from fail2ban working in foreground as systemd-service (in opposite to "STDOUT" don't log time-stamps).
7 years ago
sebres 7e756da2b9 Merge remote-tracking branch 'remotes/gh-upstream/master' into 0.10
7 years ago
Stuart Cardall 18d2761dc0 gentoo-initd: add descriptions
7 years ago
martin61 5db497017a add ip6tables.service ipset.service in systemd unit
7 years ago
Louis Sautier 2ce0ffb977
Fix Gentoo init script's shebang
7 years ago
sebres e3b061e94b - `files/fail2ban.service` renamed as template to `files/fail2ban.service.in`;
7 years ago
sebres 1a562bed0f Merge remote-tracking branch 'master' into 0.10
7 years ago
Serg G. Brester 99b668a3cc Merge pull request #1390 from khumarahn/xxx
7 years ago
oliverdorn 4a65e069e1 Solution for issue #1665
8 years ago
Hank Leininger 9fbf713d7d
Wait up to 30 seconds on "stop" to avoid errors.
8 years ago
sebres 45174c5eaf if fail2ban running as systemd-service, for logging to the systemd-journal, the `logtarget` could be set to STDOUT
8 years ago
sebres 1cd67ecaa2 automatically creates /var/run/fail2ban before start fail2ban (systems which /var/run/ is virtual resp. memory mount device)
8 years ago
sebres 528a7a5abb systemd service update:
8 years ago
Viktor Szépe a406c6eb3a By the author:
8 years ago
sebres 932708de9e fixed --pidfile bug, introduced in gh-1322:
9 years ago
Alexey Korepanov 5773eb71b8 ensure /var/run/fail2ban is created in systemd service file
9 years ago
Jack Suter fb779a78c5 gentoo-initd: Use start-stop-daemon in order to handle crashes better
9 years ago
Yaroslav Halchenko 3dc57af19c Merge branch 'logrotate' of https://github.com/sbraz/fail2ban
9 years ago