summaryrefslogtreecommitdiffstats
path: root/systemd/system/pg_compresswal@.service
blob: e5eae6b1b1bf849a5876a8fe91b3d9cf609fe033 (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description=Compress WAL of PostgreSQL Cluster %i
AssertPathExists=/etc/postgresql/%I/postgresql.conf
RequiresMountsFor=/var/backups/postgresql

[Service]
Type=oneshot
User=postgres
ExecStart=/usr/bin/pg_backupcluster %i compresswal