Hi @JustAnotherITGuy,
We have been looking into this issue and have found a plist that works for us. Could you try to apply it?
Before doing anything, please do launchctl unload -w
to the plist files you added. After that, create the following .plist files and load them with launchctl load -w
:
File: /Library/LaunchDaemons/com.bitnami-mamp.apache.service.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.bitnami-mamp.apache</string>
<key>ProgramArguments</key>
<array>
<string>INSTALLDIR/apache2/bin/httpd</string>
<string>-f</string>
<string>INSTALLDIR/apache2/conf/httpd.conf</string>
<string>-DFOREGROUND</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>USERNAME</string>
</dict>
</plist>
File: /Library/LaunchDaemons/com.bitnami-mamp.mysql.service.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.bitnami-mamp.mysql</string>
<key>ProgramArguments</key>
<array>
<string>INSTALLDIR/mysql/bin/mysqld_safe</string>
<string>--defaults-file=INSTALLDIR/mysql/my.cnf</string>
<string>--mysqld=mysqld.bin</string>
<string>--socket=INSTALLDIR/mysql/tmp/mysql.sock</string>
<string>--datadir=INSTALLDIR/mysql/data</string>
<string>--log-error=INSTALLDIR/mysql/data/mysqld.log</string>
<string>--pid-file=INSTALLDIR/mysql/data/mysqld.pid</string>
<string>--lower-case-table-names=1</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>USERNAME</string>
</dict>
</plist>
NOTE: Don’t forget to replace all INSTALLDIR
and USERNAME
placeholders.
I hope it works!