aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/sshguard/sshguard/sshguard.service
blob: e2590faddae138a47d9961087cfdaba88ff09ec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=SSHGuard
After=network.service

[Service]
PIDFile=/run/sshguard.pid
ExecStartPre=/usr/lib/sshguard/firewall enable
ExecStopPost=/usr/lib/sshguard/firewall disable
ExecStart=/usr/lib/sshguard/sshguard-journalctl -i /run/sshguard.pid

[Install]
WantedBy=multi-user.target