chiark
/
gitweb
/
~mdw
/
ca
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71669a0
)
bin/update: Refresh the profiles in the database from the configuration.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 6 Dec 2012 03:18:11 +0000
(
03:18
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 6 Dec 2012 03:42:57 +0000
(
03:42
+0000)
I must have always intended this, and just forgot.
bin/update
patch
|
blob
|
blame
|
history
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]