mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Add warning for incorrect process running
This commit is contained in:
@@ -122,5 +122,12 @@ if ($starting == 2) {
|
||||
}
|
||||
}
|
||||
|
||||
# Check if something else is running
|
||||
my $opid;
|
||||
if (!$pid && ($opid = &is_minecraft_port_in_use())) {
|
||||
print "<font color=red><b>",&text('index_portwarn', $opid),
|
||||
"</b></font><p>\n";
|
||||
}
|
||||
|
||||
&ui_print_footer("/", $text{'index'});
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ index_downloaddesc=Click this button to download and install the latest version
|
||||
index_upgradedesc=A new Minecraft server version is now available for download.
|
||||
index_upgrade=Upgrade Now
|
||||
index_startwarn=WARNING! A different version of Minecraft may be configured to start at boot time.
|
||||
index_portwarn=WARNING! Other process with PID $1 is using using the Minecraft server port. This may be another version of the Minecraft server.
|
||||
|
||||
check_edir=The base directory $1 does not exist
|
||||
check_ejar=The server JAR file $1 does not exist
|
||||
|
||||
Reference in New Issue
Block a user