Skip to content

Commit

Permalink
Avoid using mzlib when not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
samth committed Jul 6, 2022
1 parent d9b8fe5 commit 8d9c0f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions web-server-doc/info.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
(define build-deps '("net-doc"
"net-cookies-doc"
"rackunit-doc"
"compatibility-doc"
"db-doc"
"scribble-doc"
"compatibility-lib"
"db-lib"
"net-lib"
"net-cookies-lib"
Expand Down
4 changes: 2 additions & 2 deletions web-server-doc/web-server/scribblings/server-faq.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ Using @exec{exec} will reuse the same process, and therefore, the PID
file will be accurate.

Second, if you want to make your own Racket start-up script, you can write:
@(require (for-label mzlib/os))
@(require (for-label racket/os))
@racketblock[
(require mzlib/os)
(require racket/os)
(with-output-to-file _your-pid-file (lambda () (write (getpid))))
(_start-server)
]
Expand Down

0 comments on commit 8d9c0f7

Please sign in to comment.