[Slackbuilds-users] postgresql

Martinus Ady H mrt.itnewbies at gmail.com
Fri Apr 2 17:41:46 UTC 2010


Donald Allen wrote:
> Here's another one, given that I performed so brilliantly on the first
> submission.
> 
> The postgresql page says:
> 
> "Before you can run postgresql you'll need to create the database;
> please see README.SBo."
> 
> README.SBo instructs you to add
> 
> # Startup postgresql
> if [ -x /etc/rc.d/rc.postgresql ]; then
> 	/etc/rc.d/rc.postgresql start
> fi
> 
> to /etc/rc.d/rc.local. But this doesn't work (the postgres server
> doesn't start) because /etc/rc.d/rc.postgresql doesn't have execute
> permission after installing the postgresql package that results from
> running postgresql.SlackBuild.
> 
> Simply doing the obvious
> 
> chmod +x /etc/rc.d/rc.postgresql
> 
> in a root shell fixes the problem, but, of course, that shouldn't be
> necessary. I think the SlackBuild script, or, more likely, its
> associated doinst.sh, or the permissions on  the
> postgresql/rc.postgresql.new (644) that results from from un-tarring
> the downloaded postgresql.tar.gz needs a little tweaking.
> 
> /Don
> ________________________________

I think its ok to doing this after installation, because maybe some user 
don't need to run postgre service at startup.

-- 
Regards,

Martinus Ady H.


More information about the SlackBuilds-users mailing list