Ticket #27818: Portfile-unbound.diff
File Portfile-unbound.diff, 760 bytes (added by hukl@…, 14 years ago) |
---|
-
(a) Portfile_old vs. (b) Portfile
a b 43 43 home=/dev/null \ 44 44 realname=Unbound\ Resolver 45 45 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 46 48 } 47 49 48 50 # Make it run on boot 49 51 startupitem.create yes 50 52 startupitem.name unbound 51 53 startupitem.start ${prefix}/sbin/unbound 52 startupitem.stop "/bin/kill \$(cat ${prefix}/ etc/unbound/unbound.pid)"54 startupitem.stop "/bin/kill \$(cat ${prefix}/var/run/unbound/unbound.pid)" 53 55 54 56 livecheck.type regex 55 57 livecheck.url ${homepage}/download.html