mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 06:28:23 +00:00
puppet: Move /tmp to local storage on Postgres master servers
(imported from commit eae0a31faad6d95c8e2b55c11481aa19d7e108f2)
This commit is contained in:
@@ -15,4 +15,9 @@ mount /srv
|
|||||||
pg_ctlcluster 9.1 main stop
|
pg_ctlcluster 9.1 main stop
|
||||||
mv /var/lib/postgresql /srv
|
mv /var/lib/postgresql /srv
|
||||||
ln -s /srv/postgresql/ /var/lib
|
ln -s /srv/postgresql/ /var/lib
|
||||||
|
|
||||||
|
mv /tmp /srv
|
||||||
|
mkdir /tmp
|
||||||
|
mount --bind /srv/tmp /tmp
|
||||||
|
echo "/srv/tmp /tmp bind defaults,bind 0 0" >> /etc/fstab
|
||||||
pg_ctlcluster 9.1 main start
|
pg_ctlcluster 9.1 main start
|
||||||
|
|||||||
Reference in New Issue
Block a user