Viitor_postgresql/etc/init/postgresql.conf
kueller 239981754d Probleme beim Shutdown -> stop on ...S... wird nicht korrekt erkannt und
blockt den stop...



git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_postgresql@5717 504e572c-2e33-0410-9681-be2bf7408885
2010-06-23 10:16:49 +00:00

16 lines
371 B
Plaintext

description "Startup MySQL DAtabase"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [2345] and (started ifup))
stop on runlevel [016]
console none
script
source /etc/init/functions
source /etc/sysconfig/profile.d/PostgreSQL
su - postgres -c "/opt/PostgreSQL/bin/postmaster $PGNE -D $PGDATA"
end script