Thank you, both. Time to time I access the instance on my workstation remotely 
and sometimes the power goes out on a weekend or something. Will be able to 
solve this problem now. Appreciated,
Shannon

On Feb 1, 2011, at 12:41 PM, Michael Blakeley wrote:

> 
> On 1 Feb 2011, at 09:38 , Walter Underwood wrote:
> 
>> On Feb 1, 2011, at 11:17 AM, Shannon wrote:
>> 
>>> Hi,
>>> 
>>> Is there a way to make the (Mac dev-only) server start up automatically 
>>> after a reboot without logging in? It would be helpful in cases of power 
>>> outage.
>>> 
>>> Thanks,
>>> Shannon
>> 
>> I haven't tried that, so I have no idea whether it would work. You'll find a 
>> script in ~/StartupItems/MarkLogic that can be used to start and stop the 
>> server. It might be possible to hook that in to the Mac restart logic, but 
>> I'm not familiar with that part of the OS.
>> 
>> These commands will start and stop the server. This is what the preference 
>> pane uses:
>> 
>> ~/Library/StartupItems/MarkLogic/MarkLogic start
>> ~/Library/StartupItems/MarkLogic/MarkLogic stop
>> 
>> The Mac OS X release is intended for development use, so it is only tested 
>> with a logged-in user.
> 
> I'll add a link to the privoxy example at 
> http://hints.macworld.com/article.php?story=20100227045756617 in case it 
> helps. That provides a sample /Library/LaunchDaemons plist for launchd to 
> use, which you could modify as outlined by Walter. You can probably ignore 
> all the user and group setup.
> 
> -- Mike
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to