> Hello, > > I usually start postgresql database by running > > root@fedora>su postgres -c "postgres -D /home/postgres &" > > 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? I found the problem. It was Selinux. I also found the right way to start postgres in a custom data directory: 1. Configure data directory in /etc/rc.d/init.d/postgres 2. service postgres initdb 3. service postgres start 4. chkconfig postgres on -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx 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