Fix examples of how to use "su" while starting the server.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2012 17:53:07 +0000 (13:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2012 17:53:07 +0000 (13:53 -0400)
commit5ced7dc16d8baf37cc0d9ee3cb8f2df5dca64ed5
tree83946c577629504f449829fcac6ff3624c28b4cc
parented23de2692225d06458116c0aa71fe86409b4184
Fix examples of how to use "su" while starting the server.

The syntax "su -c 'command' username" is not accepted by all versions of
su, for example not OpenBSD's.  More portable is "su username -c
'command'".  So change runtime.sgml to recommend that syntax.  Also,
add a -D switch to the OpenBSD example script, for consistency with other
examples.  Per Denis Lapshin and Gábor Hidvégi.
doc/src/sgml/runtime.sgml