<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9e7cd9a799d6a586ba9a4d2cc7ec41afe3092d54">https://github.com/macports/macports-ports/commit/9e7cd9a799d6a586ba9a4d2cc7ec41afe3092d54</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 9e7cd9a799d postgresql16-server: set shell explicitly for daemondo
</span>9e7cd9a799d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9e7cd9a799d6a586ba9a4d2cc7ec41afe3092d54
</span>Author: David Gilman <davidgilman1@gmail.com>
AuthorDate: Thu Oct 12 22:18:52 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> postgresql16-server: set shell explicitly for daemondo
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/68412
</span>---
databases/postgresql16-server/Portfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/postgresql16-server/Portfile b/databases/postgresql16-server/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e26fce11929..6664f9cc6ee 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/postgresql16-server/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/postgresql16-server/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span>
name postgresql16-server
version 16.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories databases
platforms {darwin any}
maintainers {gmail.com:davidgilman1 @dgilman} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,9 +42,9 @@ startupitem.create yes
</span> startupitem.init \
"PGCTL=${libdir}/bin/pg_ctl"
startupitem.start \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL16DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "sudo -u ${dbuser} /bin/sh -c \"\${PGCTL} -D \${POSTGRESQL16DATA:=${dbdir}} start -l ${logdir}/postgres.log\""
</span> startupitem.stop \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-"su ${dbuser} -c \"\${PGCTL} -D \${POSTGRESQL16DATA:=${dbdir}} stop -s -m fast\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+"sudo -u ${dbuser} /bin/sh -c \"\${PGCTL} -D \${POSTGRESQL16DATA:=${dbdir}} stop -s -m fast\""
</span>
destroot {
xinstall -m 755 -d ${destroot}${logdir}
</pre><pre style='margin:0'>
</pre>