Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
General Discussions
Switcher Hangout (Windows to Mac)
Run apps as services
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xstep" data-source="post: 273303" data-attributes="member: 11647"><p>It might be possible. The new Apple way of performing this type of task is to use Apple's <a href="http://developer.apple.com/macosx/launchd.html" target="_blank">launchd</a>. The old Apple way is to use StartupItems. The Unix way is to create an rc.local file or mess with inetd stuff I think.</p><p></p><p>You'll have to note if it needs to be started as a particular user other than root I think. You would use something like "sudo -u username <command strings>".</p><p></p><p>launchd is explained a little bit <a href="http://woss.name/2005/11/22/using-launchd-on-mac-os-x/" target="_blank">here</a>. The first two links in the first paragraph seem a good place to start.</p><p></p><p>StartupItems seem to have a good intro <a href="http://www.macdevcenter.com/lpt/a/4288" target="_blank">here</a>, but note tip 10 <a href="http://www.macdevcenter.com/pub/a/mac/2002/10/22/macforunix.html" target="_blank">here</a>.</p></blockquote><p></p>
[QUOTE="xstep, post: 273303, member: 11647"] It might be possible. The new Apple way of performing this type of task is to use Apple's [URL="http://developer.apple.com/macosx/launchd.html"]launchd[/URL]. The old Apple way is to use StartupItems. The Unix way is to create an rc.local file or mess with inetd stuff I think. You'll have to note if it needs to be started as a particular user other than root I think. You would use something like "sudo -u username <command strings>". launchd is explained a little bit [URL="http://woss.name/2005/11/22/using-launchd-on-mac-os-x/"]here[/URL]. The first two links in the first paragraph seem a good place to start. StartupItems seem to have a good intro [URL="http://www.macdevcenter.com/lpt/a/4288"]here[/URL], but note tip 10 [URL="http://www.macdevcenter.com/pub/a/mac/2002/10/22/macforunix.html"]here[/URL]. [/QUOTE]
Verification
Post reply
Forums
General Discussions
Switcher Hangout (Windows to Mac)
Run apps as services
Top