View | Details | Raw Unified | Return to bug 178476
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	knot
4
PORTNAME=	knot
5
DISTVERSION=	1.2.0
5
DISTVERSION=	1.2.0
6
PORTREVISION=	1
6
CATEGORIES=	dns ipv6
7
CATEGORIES=	dns ipv6
7
MASTER_SITES=	https://secure.nic.cz/files/knot-dns/ \
8
MASTER_SITES=	https://secure.nic.cz/files/knot-dns/ \
8
		http://www.dns-lab.com/downloads/knot-dns/
9
		http://www.dns-lab.com/downloads/knot-dns/
(-)files/knotd.in (-2 / +7 lines)
Lines 23-28 Link Here
23
reload_cmd="${name}_reload"
23
reload_cmd="${name}_reload"
24
start_precmd="${name}_compile"
24
start_precmd="${name}_compile"
25
status_cmd="${name}_status"
25
status_cmd="${name}_status"
26
start_cmd="${name}_start"
26
stop_cmd="${name}_stop"
27
stop_cmd="${name}_stop"
27
28
28
load_rc_config ${name}
29
load_rc_config ${name}
Lines 43-53 Link Here
43
	}
44
	}
44
knot_reload() {
45
knot_reload() {
45
	echo "Reloading ${name}."
46
	echo "Reloading ${name}."
46
	${command} -c ${knot_config} -a reload
47
	${command} -c ${knot_config} reload
47
	}
48
	}
48
knot_status() {
49
knot_status() {
49
	${command} -c ${knot_config} running
50
	${command} -c ${knot_config} status
50
	}
51
	}
52
knot_start() {
53
	echo "Starting ${name}."
54
	${procname} -c ${knot_config} -d
55
	}
51
knot_stop() {
56
knot_stop() {
52
	echo "Stopping ${name}."
57
	echo "Stopping ${name}."
53
	${command} -c ${knot_config} stop
58
	${command} -c ${knot_config} stop

Return to bug 178476