#!/usr/local/bin/perl
# apply.cgi
# Apply config file changes with a HUP signal

require './proftpd-lib.pl';
&ReadParse();
if ($config{'test_config'}) {
	$err = &test_config();
	&error("<pre>$err</pre>") if ($err);
	}
&kill_logged('HUP', $in{'pid'});
&webmin_log("apply");
&redirect($in{'redir'});

