chiark
/
gitweb
/
~mdw
/
ca
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bin/update: Refresh the profiles in the database from the configuration.
[ca]
/
bin
/
update
diff --git
a/bin/update
b/bin/update
index 09a4c600a664e220a75499e27babdee9b126e2b6..fb46363aaae469ea6023305f275e7b408b0f79b4 100755
(executable)
--- a/
bin/update
+++ b/
bin/update
@@
-30,6
+30,9
@@
sqlite3 db "$CERTROOT/state/ca.db"
db nullvalue nil
cd "$CERTROOT"
+## Refresh the database's idea of request profiles.
+sync-profiles
+
## Reissue certificates for requests which need it.
set now [now]
set now_db [time-db $now]