projects
/
webmin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Handle hostnames with upper-case letters
[webmin.git]
/
jabber
/
restart.cgi
1
#!/usr/local/bin/perl
2
# restart.cgi
3
# Stop and then restart the Jabber server
4
5
require './jabber-lib.pl';
6
&error_setup($text{'restart_err'});
7
8
$err = &stop_jabber();
9
&error($err) if ($err);
10
11
$err = &start_jabber();
12
&error($err) if ($err);
13
14
&webmin_log("restart");
15
&redirect("");
16