]> 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:01 +0000 (13:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2012 17:53:01 +0000 (13:53 -0400)
commitbc99397563ff88c31078d4bf66b8538c78a08bda
treef83459717ee9cb3dcf65cb9a70daa09210c44298
parent04a37a5716867f8eade144baac847a9737ac22f5
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