mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 18:03:06 +02:00
web: Create a function to show the service status
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -5247,6 +5247,15 @@ END
|
||||
$activeonrun = "disabled='disabled'";
|
||||
}
|
||||
&Header::openbox('100%', 'LEFT', $Lang::tr{'global settings'});
|
||||
|
||||
# Show the service status
|
||||
&Header::ServiceStatus({
|
||||
$Lang::tr{'ovpn roadwarrior server'} => {
|
||||
"process" => "openvpn",
|
||||
"pidfile" => "/var/run/openvpn.pid",
|
||||
}
|
||||
});
|
||||
|
||||
print <<END;
|
||||
<table width='100%' border='0'>
|
||||
<form method='post'>
|
||||
|
||||
Reference in New Issue
Block a user