diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index a661d3702f..ec4ca05415 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -8447,7 +8447,8 @@ CFLAGS+= -DLUA_VERSION_STRING="${VER_STR}" Example simple rc.d script: #!/bin/sh -# $FreeBSD$ + +# $FreeBSD$ # # PROVIDE: doormand # REQUIRE: LOGIN @@ -8481,10 +8482,10 @@ run_rc_command "$1" Unless there is a good reason to start the service earlier all ports scripts should use - REQUIRE: LOGIN. If the service + REQUIRE: LOGIN If the service runs as a particular user (other than root) this is mandatory. - The KEYWORD: shutdown - included in the script above is there because the mythical port + KEYWORD: shutdown + is included in the script above because the mythical port we are using as an example starts a service, and should be shut down cleanly when the system shuts down. If the script is not starting a persistent service this is not necessary.