File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ enable_powa ()
9595 createdb --cluster "$VERSION /$CLUSTER " --echo powa
9696 psql -X --cluster "$VERSION /$CLUSTER " -c "create extension if not exists powa cascade" powa
9797EOF
98+
99+ echo " Updating powa-web configuration ..."
100+ update-powa-web-config
98101}
99102
100103enable_powa_addons ()
@@ -120,7 +123,7 @@ enable_powa_addons ()
120123 fi
121124
122125 for EXTENSION in $EXTENSIONS ; do
123- if [ " $EXTENSION " = " pg-wait-sampling " -o " $EXTENSION " = " pg- track-settings" -o " $EXTENSION " = " pg_track_settings" ]; then
126+ if [ " $EXTENSION " = " pg-track-settings" -o " $EXTENSION " = " pg_track_settings" ]; then
124127 continue
125128 fi
126129 shared_preload $( echo $EXTENSION | tr ' -' ' _' ) && restart=yes
Original file line number Diff line number Diff line change @@ -52,3 +52,5 @@ close $fh or die "$filename: $!";
5252chmod $mode , $filename or die " $filename : $! " ;
5353chown $user , $group , $filename or die " $filename : $! " ;
5454rename $filename , $powaconf or die " $powaconf : $! " ;
55+ # restart powa-web
56+ system (' systemctl restart powa-web' )
You can’t perform that action at this time.
0 commit comments