<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-guide.
</pre>
<p><a href="https://github.com/macports/macports-guide/commit/a461760ac11383ec406600f138afbfc838a38be1">https://github.com/macports/macports-guide/commit/a461760ac11383ec406600f138afbfc838a38be1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a461760ac11383ec406600f138afbfc838a38be1
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Tue Apr 24 17:03:38 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> startupitem: Fix whitespace in listing
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Untangle paragraphs that are supposed to be rendered separately.
</span>---
guide/xml/portfile-startupitem.xml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/xml/portfile-startupitem.xml b/guide/xml/portfile-startupitem.xml
</span><span style='display:block; white-space:pre;color:#808080;'>index d51a4c9..b349f83 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/xml/portfile-startupitem.xml
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/guide/xml/portfile-startupitem.xml
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -440,12 +440,17 @@ startupitem.restart "${prefix}/share/mysql/mysql.server restart"</programlis
</span> <programlisting><prompt>%%</prompt> <userinput>ls -l /Library/LaunchDaemons</userinput></programlisting>
<screen>org.macports.mysql5.plist ->
<span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local/etc/LaunchDaemons/org.macports.mysql5/org.macports.mysql5.plist</screen>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<!-- -->/opt/local/etc/LaunchDaemons/org.macports.mysql5/org.macports.mysql5.plist</screen>
</span>
<para>For <quote>script</quote> StartupItems, in addition to a .plist
<span style='display:block; white-space:pre;background:#ffe0e0;'>- file, a wrapper is also created.<programlisting><prompt>%%</prompt> <userinput>ls -l /opt/local/etc/LaunchDaemons/org.macports.mysql5/</userinput></programlisting><screen>-rwxr-xr-x 2 root wheel 475 Aug 2 14:16 mysql5.wrapper
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--rw-r--r-- 2 root wheel 975 Aug 2 14:16 org.macports.mysql5.plist</screen>The
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- wrapper manipulates the script as specified in the startupitem.start and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file, a wrapper is also created.</para>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <programlisting><prompt>%%</prompt> <userinput>ls -l /opt/local/etc/LaunchDaemons/org.macports.mysql5/</userinput></programlisting>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <screen>-rwxr-xr-x 2 root wheel 475 Aug 2 14:16 mysql5.wrapper
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+<!-- -->-rw-r--r-- 2 root wheel 975 Aug 2 14:16 org.macports.mysql5.plist</screen>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <para>The wrapper manipulates the script as specified in the startupitem.start and
</span> startupitem.stop keywords. An example wrapper script snippet is shown
below.</para>
</pre><pre style='margin:0'>
</pre>