projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b6dcde
)
No need for full restart after changing password
author
Jamie Cameron
<jcameron@webmin.com>
Fri, 4 Jan 2008 22:34:19 +0000
(22:34 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Fri, 4 Jan 2008 22:34:19 +0000
(22:34 +0000)
changepass.pl
patch
|
blob
|
history
diff --git
a/changepass.pl
b/changepass.pl
index
f623ccf
..
71b8210
100755
(executable)
--- a/
changepass.pl
+++ b/
changepass.pl
@@
-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 runnin
g
+# Send a signal to
have miniserv reload it's confi
g
if (open(PID, $config{'pidfile'})) {
<PID> =~ /(\d+)/; $pid = $1;
close(PID);
- kill('
HUP
', $pid);
+ kill('
USR1
', $pid);
}
sub usage