diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-05-28 00:27:15 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-05-28 00:27:15 -0500 |
commit | 3fa248393f991d283492f18d470d269d79cd61f5 (patch) | |
tree | ff6f8d317c41db59727dcc0f5e75d5a81d4ecd22 /pcr/openrc-devel/postgresql.install | |
parent | 6a398cfd1583c7d2c752827821d6c68a0daf3cef (diff) | |
download | abslibre-3fa248393f991d283492f18d470d269d79cd61f5.tar.gz abslibre-3fa248393f991d283492f18d470d269d79cd61f5.tar.bz2 abslibre-3fa248393f991d283492f18d470d269d79cd61f5.zip |
openrc-devel-20160528-1: updating version
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}'" } |