Mercurial > syslog2iptables
annotate syslog2iptables.service.rc @ 82:384532d596c0 default tip
Added tag stable-1-0-19 for changeset cc01f2caff37
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 11 Feb 2024 12:06:36 -0800 |
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 |