summaryrefslogtreecommitdiffstats
path: root/systemd/system/pg_compresswal@.timer
blob: 6dddbb9aac02369309b9c962803317463f5cb645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Daily Compress WAL of PostgreSQL Cluster %i
AssertPathExists=/etc/postgresql/%I/postgresql.conf

[Timer]
OnCalendar=daily
RandomizedDelaySec=1h
FixedRandomDelay=true

[Install]
# when enabled, start along with pg_receivewal@%i
WantedBy=pg_receivewal@%i.service