Ticket #27818: Portfile-unbound.diff

File Portfile-unbound.diff, 760 bytes (added by hukl@…, 14 years ago)

Portfile Diff

  • (a) Portfile_old vs. (b) Portfile

    a b  
    4343        home=/dev/null \
    4444        realname=Unbound\ Resolver
    4545    move ${destroot}${prefix}/etc/${name}/${name}.conf ${destroot}${prefix}/etc/${name}/${name}.conf-dist
     46    file mkdir ${destroot}${prefix}/var/run/${name}
     47    touch ${destroot}${prefix}/var/run/${name}/${name}.pid
    4648}
    4749
    4850# Make it run on boot
    4951startupitem.create  yes
    5052startupitem.name    unbound
    5153startupitem.start   ${prefix}/sbin/unbound
    52 startupitem.stop    "/bin/kill \$(cat ${prefix}/etc/unbound/unbound.pid)"
     54startupitem.stop    "/bin/kill \$(cat ${prefix}/var/run/unbound/unbound.pid)"
    5355
    5456livecheck.type      regex
    5557livecheck.url       ${homepage}/download.html