websites.concatenative: run builder check here

Slava Pestov 2010-10-02 20:54:56 -07:00
parent 13b9b8ed46
commit 7e9d099e40
1 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,7 @@
USING: accessors kernel sequences assocs io.files io.pathnames USING: accessors kernel sequences assocs io.files io.pathnames
io.sockets io.sockets.secure io.servers io.sockets io.sockets.secure io.servers
namespaces db db.tuples db.sqlite smtp urls namespaces db db.tuples db.sqlite smtp urls
logging.insomniac logging.insomniac calendar timers
html.templates.chloe html.templates.chloe
http.server http.server
http.server.dispatchers http.server.dispatchers
@ -27,6 +27,7 @@ webapps.user-admin
webapps.help webapps.help
webapps.mason webapps.mason
webapps.mason.backend webapps.mason.backend
webapps.mason.backend.watchdog
websites.factorcode ; websites.factorcode ;
IN: websites.concatenative IN: websites.concatenative
@ -123,8 +124,12 @@ SYMBOLS: key-password key-file dh-file ;
8080 >>insecure 8080 >>insecure
8431 >>secure ; 8431 >>secure ;
: start-watchdog ( -- )
[ check-builders ] 6 hours every drop ;
: start-website ( -- server ) : start-website ( -- server )
website-db start-expiring website-db start-expiring
website-db start-update-task website-db start-update-task
http-insomniac http-insomniac
start-watchdog
<concatenative-website-server> start-server ; <concatenative-website-server> start-server ;