Want more features on Pastebin? Sign Up, it's FREE!
Guest

ipblock.service

By: a guest on May 25th, 2012  |  syntax: None  |  size: 0.33 KB  |  views: 68  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [Unit]
  2. Description=a Linux application for blocking connections to and from a specified range of hosts using the netfilter netlink-queue library.
  3. After=ufw.service
  4.  
  5. [Service]
  6. Type=forking
  7. PIDFile=/var/run/iplist.pid
  8. ExecStartPre=/usr/sbin/iplist -b -r /var/run/iplist.pid
  9. ExecStart=/usr/sbin/ipblock -s -u
  10.  
  11. [Install]
  12. WantedBy=multi-user.target
clone this paste RAW Paste Data