]> 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:52:57 +0000 (13:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2012 17:52:57 +0000 (13:52 -0400)
commitf7b836eb83dce05976dd07f71c92c16a718b89f6
tree68416ffad189c8007e66a284ba1de35237f9fb6c
parentd2292f6405670e1fdac13998f87b4348c71fb9e6
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