Skip to content

Instantly share code, notes, and snippets.

@kometchtech
Last active November 1, 2016 21:24
Show Gist options
  • Select an option

  • Save kometchtech/29efe9aef131255ca36c to your computer and use it in GitHub Desktop.

Select an option

Save kometchtech/29efe9aef131255ca36c to your computer and use it in GitHub Desktop.

Revisions

  1. kometchtech revised this gist Sep 25, 2015. No changes.
  2. kometchtech revised this gist Sep 25, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion unbound.service
    Original file line number Diff line number Diff line change
    @@ -4,9 +4,11 @@ After=network.target networking.service

    [Service]
    Type=simple
    ExecStartPre=/usr/local/sbin/unbound-anchor -a /var/lib/unbound/root.key
    ExecStartPre=/usr/local/sbin/unbound-anchor -a /var/unbound/root.key
    ExecStartPre=/usr/local/sbin/unbound-checkconf
    ExecStart=/usr/local/sbin/unbound -d
    LimitNOFILE=102400
    LimitNPROC=65535

    [Install]
    WantedBy=multi-user.target
  3. kometchtech created this gist Apr 19, 2015.
    12 changes: 12 additions & 0 deletions unbound.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    [Unit]
    Description=Unbound is a validating, recursive, and caching DNS resolver.
    After=network.target networking.service

    [Service]
    Type=simple
    ExecStartPre=/usr/local/sbin/unbound-anchor -a /var/lib/unbound/root.key
    ExecStartPre=/usr/local/sbin/unbound-checkconf
    ExecStart=/usr/local/sbin/unbound -d

    [Install]
    WantedBy=multi-user.target