talas-group/04_INFRA_DEPLOIEMENT/Ansible/roles/postgres/files/pg-backup.service
senke 66471934af Initial commit: Talas Group project management & documentation
Knowledge base of ~80+ markdown files across 14 domains (00-13),
Logseq graph, hardware design files (KiCAD), infrastructure configs,
and talas-wiki static site.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 20:10:41 +02:00

19 lines
543 B
Desktop File

# ansible_managed
[Unit]
Description=PostgreSQL start/stop backup service
Documentation=https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-LOWLEVEL-BASE-BACKUP
Documentation=https://www.postgresql.org/docs/current/functions-admin.html#FUNCTIONS-ADMIN-BACKUP
After=multi-user.target postgres.service
[Service]
Type=simple
User=postgres
Group=postgres
Environment=PYTHONUNBUFFERED=1
ExecStart=/usr/local/bin/pg_backup_service.py
SyslogIdentifier=pg_backup_service
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target