diff options
author | edward-p | 2019-03-26 11:46:58 +0800 |
---|---|---|
committer | edward-p | 2019-03-26 11:46:58 +0800 |
commit | 25558cc7a0de03c3ec46242039418621705ec90d (patch) | |
tree | 702f00453a9e6504ed8ae3c339d9064be7748e34 /arptables.service | |
download | aur-25558cc7a0de03c3ec46242039418621705ec90d.tar.gz |
initial commit
Diffstat (limited to 'arptables.service')
-rw-r--r-- | arptables.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arptables.service b/arptables.service new file mode 100644 index 000000000000..0e78e81d048e --- /dev/null +++ b/arptables.service @@ -0,0 +1,14 @@ +[Unit] +Description=ARP table +Before=network-pre.target +Wants=network-pre.target + +[Service] +Type=oneshot +ExecStart=/bin/sh -c 'arptables-restore < /etc/arptables.conf' +ExecReload=/bin/sh -c 'arptables-restore < /etc/arptables.conf' +ExecStop=/bin/sh -c 'arptables-restore < /dev/null' +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target |