Use postgres user

This commit is contained in:
2020-10-13 17:02:14 +02:00
parent 8cecc36bf3
commit 2a9f30452f
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ Description=Run PostgreSQL backup
[Service]
Type=oneshot
ExecStart=/usr/bin/pg_backup_rotated.sh -c /etc/postgres-backup/pg_backup.conf
User=postgres
[Install]
WantedBy=default.target