[Unit] Description=Backup and Recovery Manager for PostgreSQL - cron tasks Documentation=man:barman(1) After=network.target [Service] Type=oneshot User=barman ExecStart=/usr/bin/barman -q cron # Normally cron supervises each streaming server's WAL receiver through its own # barman-receive-wal@.service unit (its own cgroup, unaffected by this # oneshot exiting). But when the unit cannot be started (e.g. polkit is not # installed, so the barman user is not authorised) cron falls back to forking # the receiver as a child of this service. KillMode=process stops systemd from # killing those forked receivers when this oneshot exits (see Debian #1138696). KillMode=process