initial commit
|
1 |
[Unit] |
ajout des services systemd r...
|
2 |
Description=Mise en place du parefeu |
3 |
DefaultDependencies=no |
|
4 |
After=systemd-sysctl.service |
|
5 |
Before=sysinit.target |
|
initial commit
|
6 | |
7 |
[Service] |
|
ajout des services systemd r...
|
8 |
Type=oneshot |
9 |
ExecStart=/usr/bin/awk '!/^\s*(#.*|$)/{system("/sbin/iptables " $0)}' /root/iptables.rules |
|
10 |
ExecReload=/usr/bin/awk '!/^\s*(#.*|$)/{system("/sbin/iptables " $0)}' /root/iptables.rules |
|
initial commit
|
11 |
ExecStop=/usr/bin/awk '!/^\s*(#.*|$)/{system("/sbin/iptables " $0)}' /root/iptables.norules |
ajout des services systemd r...
|
12 |
RemainAfterExit=yes |
initial commit
|
13 | |
14 |
[Install] |
|
15 |
WantedBy=multi-user.target |