16 lines
372 B
Plaintext
16 lines
372 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 [S016]
|
||
|
|
||
|
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
|