Mail archive
alpine-devel

[alpine-devel] Re: [PATCH] main/postgresql/pg-restore.initd

From: Nathan Angelacos <nangel_at_alpinelinux.org>
Date: Sun, 14 Aug 2011 22:33:53 -0700

On 08/15/2011 06:16 AM, Nathan Angelacos wrote:
> From: Nathan Angelacos<nangel_at_tetrasec.net>
>
> add a "purge" command - delete the temporary database backup

The idea here is to delete the temporary database dump after an lbu
commit has completed:


-- /etc/lbu/pre-package.d/postgresdump --
#!/bin/sh
/etc/init.d/pg-restore dump


-- /etc/lbu/post-package.d/postgresdump --
#!/bin/sh
/etc/init.d/pg-restore purge


Otherwise the temporary file is never removed.


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Sun Aug 14 2011 - 22:33:53 UTC