mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
No need for full restart after changing password
This commit is contained in:
@ -50,11 +50,11 @@ foreach $v (values %users) {
|
||||
close(USERS);
|
||||
print "Updated password of Webmin user $user\n";
|
||||
|
||||
# Send a signal to restart miniserv, if running
|
||||
# Send a signal to have miniserv reload it's config
|
||||
if (open(PID, $config{'pidfile'})) {
|
||||
<PID> =~ /(\d+)/; $pid = $1;
|
||||
close(PID);
|
||||
kill('HUP', $pid);
|
||||
kill('USR1', $pid);
|
||||
}
|
||||
|
||||
sub usage
|
||||
|
Reference in New Issue
Block a user