summaryrefslogtreecommitdiff
path: root/pcr/openrc-devel/postgresql.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-05-28 00:27:15 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-05-28 00:27:15 -0500
commit3fa248393f991d283492f18d470d269d79cd61f5 (patch)
treeff6f8d317c41db59727dcc0f5e75d5a81d4ecd22 /pcr/openrc-devel/postgresql.install
parent6a398cfd1583c7d2c752827821d6c68a0daf3cef (diff)
openrc-devel-20160528-1: updating version
Diffstat (limited to 'pcr/openrc-devel/postgresql.install')
-rw-r--r--pcr/openrc-devel/postgresql.install14
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}'"
}