]> granicus.if.org Git - postgresql/commit
Fix examples of how to use "su" while starting the server.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2012 17:53:05 +0000 (13:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2012 17:53:05 +0000 (13:53 -0400)
commitcf78eb4a2d80a614d4ee1a161b71798d7250e57b
tree331c6ccb2f4709d9382d6d94b67f7e104c3229e8
parent22cdae947b8af9624ee4571ef4b1b726a774d128
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