On 10/19/14, 7:36 PM, Richard Brockie wrote:
>
> On Sun, Oct 19, 2014 at 7:33 PM, Alexander Hansen
> <[email protected] <mailto:[email protected]>> wrote:
>
> On 10/19/14, 7:27 PM, Richard Brockie wrote:
>
> So I spoke a little too soon.
>
> I was running on 10.9 with postgresql92 launching at startup,
> presumably
> after following the instructions here using the daemonic command:
> http://pdb.finkproject.org/__pdb/package.php/postgresql92
> <http://pdb.finkproject.org/pdb/package.php/postgresql92>
>
> I can get the server to start with "sudo pgsql.sh start".
>
> "sudo daemonic enable postgresql92" doesn't seem to make
> postgresql92
> start automatically as I would like.
>
> Any pointers?
>
> Thanks,
> R.
>
>
>
>
>
> I assume you tried rebooting to verify whether daemonic was enabling
> the service or not?
>
> Daemonic sets daemons up to start when the machine starts, but
> doesn't actually start them itself.
>
>
>
> Yes, I understand the difference :)
>
> You are correct, rebooting to verify has no postgres processes present
> until I run the pgsql.sh script manually.
>
>
>
>
> --
> 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
> <http://www.ontheday.net/>
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/
------------------------------------------------------------------------------
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
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners