Hi,

I've checked that daemonic correctly removes and creates the StartupItem
for postgresql92 as expected using the "remove" and "enable" flags.


Any further thoughts?
Thanks,
R.






On Sun, Oct 19, 2014 at 8:07 PM, Richard Brockie <rich...@ontheday.net>
wrote:

> Here's my file (9.2 in my case):
>
> #!/bin/sh
> # startup script for service postgresql92, created by daemonic
>
> . /etc/rc.common
>
> case "$1" in
>   start)
>
>     ConsoleMessage "Starting  PostgreSQL database server"
>
>     if [ -x /sw/bin/pgsql.sh-9.2 ]; then
>       # run the daemon
>       /sw/bin/pgsql.sh-9.2 start
>
>     fi
>
>     ;;
> esac
>
> exit 0
>
> On Sun, Oct 19, 2014 at 8:00 PM, Alexander Hansen <
> alexanderk.han...@gmail.com> wrote:
>
>> Just going for clarity. :-)
>>
>> Hmm...I don't want to reboot just yet to verify what happens here.
>>
>> You should have a 
>> /Library/StartupItems/daemonic-postgresql93/daemonic-postgresql93
>> with the following contents:
>>
>> #!/bin/sh
>> # startup script for service postgresql93, created by daemonic
>>
>> . /etc/rc.common
>>
>> case "$1" in
>>   start)
>>
>>     ConsoleMessage "Starting  PostgreSQL database server"
>>
>>     if [ -x /sw/bin/pgsql.sh-9.3 ]; then
>>       # run the daemon
>>       /sw/bin/pgsql.sh-9.3 start
>>
>>     fi
>>
>>     ;;
>> esac
>>
>> exit 0
>>
>>
>> Verify that yours looks like that (which looks like it should work), and
>> beyond that I'll have to think about what's going on.
>>
>> --
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>> My package updates: http://finkakh.wordpress.com/
>>
>
>
>
> --
>     R.
>
> Richard Brockie
>
> Real-time bicycle race results - www.ontheday.net
>



-- 
    R.

Richard Brockie

Real-time bicycle race results - www.ontheday.net
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to