aboutsummaryrefslogtreecommitdiff
path: root/src/com_reload.c
blob: 7ff12060bb3345f0939aca5e435c12fbcbb4e25e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "genrc.h"

int
com_reload(void)
{
	PIDLIST pids;
	
	if (genrc_no_reload)
		return com_restart();
	pidlist_init(&pids);
	if (get_pid_list(genrc_pid_closure, &pids))
		return 1;
	pidlist_kill(&pids, genrc_signal_reload);
	return 0;
}

	

Return to:

Send suggestions and report system problems to the System administrator.