File: sshguard.service

package info (click to toggle)
sshguard 2.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,072 kB
  • sloc: ansic: 2,630; sh: 2,447; lex: 349; yacc: 244; makefile: 92
file content (16 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=SSHGuard
Documentation=man:sshguard(8)
After=network.target
Before=sshd.service

[Service]
PIDFile=/run/sshguard.pid
ExecStartPre=-/usr/sbin/nft add table ip sshguard
ExecStartPre=-/usr/sbin/nft add table ip6 sshguard
ExecStopPost=-/usr/sbin/nft delete table ip sshguard
ExecStopPost=-/usr/sbin/nft delete table ip6 sshguard
ExecStart=/usr/sbin/sshguard

[Install]
WantedBy=multi-user.target