bin/*: Use plain `/usr/bin/tclsh' in shebang lines.
[ca] / bin / update
index 09a4c60..a0a96e5 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/tclsh8.5
+#! /usr/bin/tclsh
 ### -*-tcl-*-
 ###
 ### Run periodic maintenance on the certificate database
@@ -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]