summaryrefslogtreecommitdiffstats
path: root/iptables-rules/iptables-rules.service
blob: bea1355a6cd36aec9f69b092b556c793964102d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=iptables rules
After=syslog.target
Before=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
User=root
Group=root

ExecStart=/etc/iptables-rules start
ExecStop=/etc/iptables-rules stop
ExecReload=/etc/iptables-rules restart

[Install]
WantedBy=multi-user.target
bues.ch cgit interface