We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb73d04 commit 90cdda8Copy full SHA for 90cdda8
scripts/server_setup.sh
@@ -110,6 +110,13 @@ fi
110
PG_INSTALLED_VERSION=$(/usr/lib/postgresql/${PG_VERSION}/bin/psql --version | awk '{print $3}')
111
echo "✓ PostgreSQL ${PG_VERSION} verified: ${PG_INSTALLED_VERSION}"
112
113
+# Disable and stop default PostgreSQL service
114
+echo "Disabling default PostgreSQL service..."
115
+sudo systemctl stop postgresql || true
116
+sudo systemctl disable postgresql || true
117
+sudo systemctl mask postgresql || true
118
+echo "✓ PostgreSQL service disabled"
119
+
120
# Configure ZFS kernel module for persistent loading
121
echo "Configuring ZFS kernel module..."
122
echo "zfs" | sudo tee -a /etc/modules
0 commit comments