File: sshguard.service

package info (click to toggle)
sshguard 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,772 kB
  • sloc: ansic: 2,608; sh: 2,429; lex: 329; yacc: 238; 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