mirror of
https://github.com/webmin/webmin.git
synced 2025-08-19 01:15:14 +00:00
15 lines
323 B
Perl
Executable File
15 lines
323 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# Start the dovecot server
|
|
|
|
require './dovecot-lib.pl';
|
|
&error_setup($text{'start_err'});
|
|
$conf = &get_config();
|
|
@protos = split(/\s+/, &find_value("protocols", $conf));
|
|
@protos || &error($text{'start_eprotos'});
|
|
$err = &start_dovecot();
|
|
&error($err) if ($err);
|
|
&webmin_log("start");
|
|
&redirect("");
|
|
|
|
|