problem with new multiple startupitems

macports at parvis.nl macports at parvis.nl
Sun Jun 3 13:53:00 UTC 2018


startipitems \
  name testit \
  executable sudo -u paul /usr/local/bin/testit

gives this strange result:

<key>ProgramArguments</key>
<array>
  <string>/opt/port2/bin/daemondo</string>
  <string>--label=testit</string>
  <string>--start-cmd</string>
  <string>sudo</string>
  <string>;</string>
  <string>--pid=exec</string>
</array>

where the old

startupitem.executable sudo -u paul /usr/local/bin/testit

gives this expected result:

<key>ProgramArguments</key>
<array>
  <string>/opt/port2/bin/daemondo</string>
  <string>--label=testit</string>
  <string>--start-cmd</string>
  <string>sudo</string>
  <string>-u</string>
  <string>paul</string>
  <string>/usr/local/bin/testit</string>
  <string>;</string>
  <string>--pid=exec</string>
</array>

How should I use executable in the new multiple startupitems? or is this a bug or a feature?

paul.



More information about the macports-dev mailing list