On Sat, Mar 17, 2012 at 07:27:35PM +0100, Emilio Lopez wrote:
> Hello,
> 
> I usually start postgresql database by running
> 
> root@fedora>su postgres -c "postgres -D /home/postgres &"

Bad idea.

> 
> I'm trying to do it automatically at boot time, so I added that line
> to /etc/rc.d/rc.local. However database doesn't start.
> 
> Any Ideas?

For Fedora older than F15, use chkconfig - for releases since then, systemctl.

Regards
  Peter Larsen
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to