chiark / gitweb /
bin/update: Refresh the profiles in the database from the configuration.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 6 Dec 2012 03:18:11 +0000 (03:18 +0000)
committerMark 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

index 09a4c600a664e220a75499e27babdee9b126e2b6..fb46363aaae469ea6023305f275e7b408b0f79b4 100755 (executable)
@@ -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]