Comments on: Starting everything up at boot http://switch.richard5.net How to build your Mac into a internet server using open source software Tue, 17 Jun 2008 18:25:42 +0000 hourly 1 http://wordpress.org/?v=3.2.1 By: Nate Carroll http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/starting-everything-up-at-boot/comment-page-1/#comment-205 Nate Carroll Sun, 19 Mar 2006 04:47:35 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/starting-everything-up-at-boot/#comment-205 Oops, I should point out that the Apache2 and MySQL startup items are working correctly- it just seems to be the ones in /System/Library/StartupItems, and they all seem to have the correct permissions and ownership. Oops, I should point out that the Apache2 and MySQL startup items are working correctly- it just seems to be the ones in /System/Library/StartupItems, and they all seem to have the correct permissions and ownership.

]]>
By: Nate Carroll http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/starting-everything-up-at-boot/comment-page-1/#comment-204 Nate Carroll Sun, 19 Mar 2006 04:46:11 +0000 http://switch.richard5.net/isp-in-a-box-using-a-mac-mini/starting-everything-up-at-boot/#comment-204 Hi, I'm trying to follow your directions to get a webserver and mailserver running on a mac mini. I don't think my startupitems are running at startup though, and I'm having trouble getting the mail aspect to work. From the terminal, if i try to manually run one of the startup items scripts as root, i get: root# /System/Library/StartupItems/CourierAuth/CourierAuth /System/Library/StartupItems/CourierAuth/CourierAuth: line 8: syntax error near unexpected token `then' /System/Library/StartupItems/CourierAuth/CourierAuth: line 8: `? if [ "${CAUTHSERVER:=-NO-}" = "-YES-" ]; then' ----- I get the same error when trying to run the CourierIMAP startup item from the command line. I have copied and pasted the text into these startup scripts but is there a simple syntax error i might have introduced? Thanks for the help! -Nate Hi, I’m trying to follow your directions to get a webserver and mailserver running on a mac mini. I don’t think my startupitems are running at startup though, and I’m having trouble getting the mail aspect to work.

From the terminal, if i try to manually run one of the startup items scripts as root, i get:

root# /System/Library/StartupItems/CourierAuth/CourierAuth
/System/Library/StartupItems/CourierAuth/CourierAuth: line 8: syntax error near unexpected token `then’
/System/Library/StartupItems/CourierAuth/CourierAuth: line 8: `? if [ "${CAUTHSERVER:=-NO-}" = "-YES-" ]; then’

—–
I get the same error when trying to run the CourierIMAP startup item from the command line. I have copied and pasted the text into these startup scripts but is there a simple syntax error i might have introduced? Thanks for the help! -Nate

]]>