issues
search
rax-maas
/
dreadnot
deploy without dread
Apache License 2.0
631
stars
61
forks
source link
dreadnot web should watch for changes to htpasswd
#56
Closed
jordane
closed
10 years ago
jordane
commented
10 years ago
This introduces a few changes:
getUsers now reads from htpasswd asynchronously
loadDBFromFile calls an fs.watch, which always sends SIGHUP on change
loadDBFromFile uses bind to pass the file name along to onSIGHUP
onSIGHUP handles the reloading of the files
This introduces a few changes: