The `{` should be on the line above (as it is below).  Same with `daemonize()`.