Mercurial > syslog2iptables
annotate syslog2iptables.service.rc @ 80:858aec84fe13
Added tag stable-1-0-18 for changeset 831d0b46bbd2
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 15 Jul 2020 14:29:47 -0700 |
parents | 79f310d1bc46 |
children |
rev | line source |
---|---|
71
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
1 [Unit] |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
2 Description = Syslog to iptables dynamic firewall |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
3 After = syslog.target |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
4 After = local-fs.target |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
5 After = network.target |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
6 |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
7 [Service] |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
8 Type = forking |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
9 UMask = 0022 |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
10 User = root |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
11 WorkingDirectory = SYSCONFDIR |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
12 ExecStart = SBINDIR/syslog2iptables -d 3 |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
13 |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
14 [Install] |
79f310d1bc46
RHEL7 systemd and /var/run on tmpfs
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
15 WantedBy = multi-user.target |