File: pg_compresswal%40.service

package info (click to toggle)
postgresql-common 282
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,528 kB
  • sloc: perl: 4,170; sh: 1,572; makefile: 327; sql: 13; ansic: 10
file content (9 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (5)
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