Newer Older
15 lines | 0.475kb
initial commit
admin cloud-section (root) authored on 2016-12-10
1
[Unit]
ajout des services systemd r...
Sébastien authored on 2023-04-24
2
Description=Mise en place du parefeu
3
DefaultDependencies=no
4
After=systemd-sysctl.service
5
Before=sysinit.target
initial commit
admin cloud-section (root) authored on 2016-12-10
6

            
7
[Service]
ajout des services systemd r...
Sébastien authored on 2023-04-24
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
admin cloud-section (root) authored on 2016-12-10
11
ExecStop=/usr/bin/awk '!/^\s*(#.*|$)/{system("/sbin/iptables " $0)}' /root/iptables.norules
ajout des services systemd r...
Sébastien authored on 2023-04-24
12
RemainAfterExit=yes
initial commit
admin cloud-section (root) authored on 2016-12-10
13

            
14
[Install]
15
WantedBy=multi-user.target