How do I start OM as a daemon/service on Mac OSX

2014-11-12 Thread Robert Chalmers
I’d like OM to start itself up each time I have to restart the system. Is there 
a ‘nice’ way of doing this?
thanks
Robert

Re: How do I start OM as a daemon/service on Mac OSX

2014-11-12 Thread Maxim Solodovnik
something like this
http://www.informit.com/library/content.aspx?b=Mac_OS_X_Unleashed&seqNum=153
?
Have no MacOS X to try ...

On Wed, Nov 12, 2014 at 2:32 PM, Robert Chalmers  wrote:

> I’d like OM to start itself up each time I have to restart the system. Is
> there a ‘nice’ way of doing this?
> thanks
> Robert




-- 
WBR
Maxim aka solomax


Re: How do I start OM as a daemon/service on Mac OSX

2014-11-12 Thread Robert Chalmers
Ok,

Roberts-Mini:StartupItems robert$ sudo ln -s /Users/robert/Openmeetings/red5.sh 
red5.sh
Password:
Roberts-Mini:StartupItems robert$ pwd
/System/Library/StartupItems
Roberts-Mini:StartupItems robert$ 
ls -l
lrwxr-xr-x  1 root  wheel  34 12 Nov 09:06 red5.sh -> 
/Users/robert/Openmeetings/red5.sh


That will start it up when the system restarts, but it’s still not a Daemon. 
hmm. I will maybe look at setting up a plist file.



Based on the http plist file maybe. in
/System/Library/LaunchDaemons

called, 
org.apache.httpd.plist



http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


Disabled

Label
org.apache.httpd
EnvironmentVariables

XPC_SERVICES_UNAVAILABLE
1

ProgramArguments

/usr/sbin/httpd
-D
FOREGROUND

OnDemand





I’ll try that later. Thanks Maxim.



> On 12 Nov 2014, at 08:38, Maxim Solodovnik  wrote:
> 
> something like this 
> http://www.informit.com/library/content.aspx?b=Mac_OS_X_Unleashed&seqNum=153 
> 
>  ?
> Have no MacOS X to try ...
> 
> On Wed, Nov 12, 2014 at 2:32 PM, Robert Chalmers  > wrote:
> I’d like OM to start itself up each time I have to restart the system. Is 
> there a ‘nice’ way of doing this?
> thanks
> Robert
> 
> 
> 
> -- 
> WBR
> Maxim aka solomax