Use postgres user
This commit is contained in:
1
debian/postgres-backup.service
vendored
1
debian/postgres-backup.service
vendored
@ -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
|
Reference in New Issue
Block a user