aboutsummaryrefslogtreecommitdiff
path: root/etc/systemd-pgbak.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd-pgbak.conf')
-rw-r--r--etc/systemd-pgbak.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/systemd-pgbak.conf b/etc/systemd-pgbak.conf
new file mode 100644
index 0000000..dd841c9
--- /dev/null
+++ b/etc/systemd-pgbak.conf
@@ -0,0 +1,3 @@
+[Service]
+Environment=PGBAK=/var/lib/pgsql/backups
+ExecStopPost=-/usr/bin/pgbak try-wait 60