Mercurial > syslog2iptables
annotate syslog2iptables.service.rc @ 73:4685767c0c85 stable-1-0-17
RHEL7 systemd and /var/run on tmpfs
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 09 Feb 2017 15:01:05 -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 |