This forum is no longer active. Please post your questions to our new community site
Launchd support for REDMINE under MacOSX
|
|
I am trying to get launchd support working to Redmine will restart on reboot. I created a simple plist under /Library/LaunchDaemons to call ‘ctlscript.sh start’ on boot. MySQL does not seem to start properly. I have used the user for the launch script as myself (as I installed the stack as myself) and as ‘root’. Neither seems to work. Anyone have any suggestions on how to get this working? Thanks, Charlie |
|
|
Hi, Yes, the problem is that OS X services should be daemon process and ctlscript.sh is not a daemon script. When the script finishes, all process are killed. I would suggest to use two different plist files: one for Apache (which you can use “ctlscript.sh start apache” because Apache start as independent process of ctlscript.sh) and one for mysql similar to this:
It is important that you install the stack as root user. I hope it helps. |

