This unit is provided by:
Options
-
[Install]
-
WantedBy=postgresql@%i.service
-
-
[Service]
-
ExecStart=/usr/bin/pg_backupcluster %i receivewal
-
ExecStartPre=+/usr/bin/pg_backupcluster %i createdirectory
-
KillSignal=SIGINT
-
Restart=on-failure
-
RestartSec=1min
-
Type=simple
-
User=postgres
-
-
[Unit]
-
After=postgresql@%i.service
-
AssertPathExists=/etc/postgresql/%I/postgresql.conf
-
Description=WAL archival of PostgreSQL Cluster %i
-
RequiresMountsFor=/var/backups/postgresql
-
Wants=postgresql@%i.service
-
Additionnal notes
Nothing here.