323
323
# really wrong with the server or suite.
324
324
user_connection.perform("sudo shutdown -P +%d &" % self.timeout)
325
325
as_user = user_connection.perform
326
as_user("sudo mount -o remount,data=writeback,commit=3600,async,relatime /")
328
"-o remount,data=writeback,commit=3600,async,relatime /")
327
329
for d in ['/tmp', '/var/tmp']:
330
334
"; sudo mv /var/lib/postgresql /tmp/postgresql-tmp"
331
335
"&& sudo mkdir /var/lib/postgresql"
332
336
"&& sudo mount -t tmpfs none /var/lib/postgresql"