If the port installs a shell script whose purpose is to
launch another program, and if launching that program is the
last action performed by the script, make sure to launch the
program using the exec
statement, for
instance:
The exec
statement replaces the shell
process with the specified program. If
exec
is omitted, the shell process
remains in memory while the program is executing, and
needlessly consumes system resources.
This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/
For questions about FreeBSD, read the
documentation before
contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.