Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

starting stuff at boot..

  • 11-09-2003 10:11pm
    #1
    Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭


    Is there a way to get applications/daemons to start automagically at boot time in OS X?...like BSDs /usr/local/etc/rc.d directory?


Comments

  • Registered Users, Registered Users 2 Posts: 2,852 ✭✭✭Hugh_C


    Originally posted by Hecate
    Is there a way to get applications/daemons to start automagically at boot time in OS X?...like BSDs /usr/local/etc/rc.d directory?

    You can fire things up automagically on login by adding stuff in to a .login file, so presumably ther's a trivial way to do it system-wide at boot time as well.

    Poke around in somewhere like

    /usr/share/tcsh/examples

    there's a readme with all sorts of illuminating stuff.

    The macdevcenter and oreilly websites are pretty good for stuff like that


  • Registered Users, Registered Users 2 Posts: 2,010 ✭✭✭Dr_Teeth


    Hec mate, OSX has a trendy start-up script system using XML files. Have a search on the 'net for a HOW-TO. On my iBook I have mysql initialising just fine on start-up. It even says 'Starting Mysql server..' along with the rest of the messages under the OSX logo before you login.

    Teeth.


  • Registered Users, Registered Users 2 Posts: 66 ✭✭Kenz


    Hecate....

    There are two very easy ways of doing this.
    1. Place the application/daemon (or alias to the application/daemon) in the /System/Library/StartupItems folder in OSX. Or you could create a folder in /Library/ called StartupItems (don't remember if it's already there by default) and place your application in there and I think that should work.

    or

    2. In the System Preferences, click on Login Items and Add the item(s) that you want to start in here.

    No need to be anymore complicated than that really.


  • Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭Hecate


    Thanks for the suggestions kenz, the first one worked fine, it's handy to have samba start automatically.


Advertisement