diff options
Diffstat (limited to 'pcr/openrc-devel/postgresql.install')
-rw-r--r-- | pcr/openrc-devel/postgresql.install | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/pcr/openrc-devel/postgresql.install b/pcr/openrc-devel/postgresql.install index e54258ecb..46084091f 100644 --- a/pcr/openrc-devel/postgresql.install +++ b/pcr/openrc-devel/postgresql.install @@ -1,19 +1,5 @@ -_svc="postgresql" -_rlvl="default" - post_install() { local datadir="/var/lib/data" echo " ==> requires datadir $datadir" echo " ==> run as user postgres: 'initdb -D $datadir'" - _cmd="rc-update add ${_svc} ${_rlvl}" - echo " ==> run '${_cmd}'" -} - -post_upgrade() { - post_install "$1" -} - -post_remove() { - _cmd="rc-update del ${_svc} ${_rlvl}" - echo " ==> run '${_cmd}'" } |