mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-10-20 15:48:33 +02:00
34 lines
763 B
Desktop File
34 lines
763 B
Desktop File
[Unit]
|
|
Description=Validated PostgreSQL backups for Wowngeon instances
|
|
After=postgresql.service
|
|
Requires=postgresql.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=postgres
|
|
Group=postgres
|
|
Environment=BACKUP_ROOT=/var/backups/wowngeon/daily
|
|
Environment=BACKUP_RETENTION_DAYS=14
|
|
ExecStart=/usr/local/sbin/wowngeon-db-backup
|
|
UMask=0077
|
|
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
ProtectKernelTunables=yes
|
|
ProtectKernelModules=yes
|
|
ProtectKernelLogs=yes
|
|
ProtectControlGroups=yes
|
|
ProtectProc=invisible
|
|
ProcSubset=pid
|
|
RestrictSUIDSGID=yes
|
|
CapabilityBoundingSet=
|
|
AmbientCapabilities=
|
|
LockPersonality=yes
|
|
RestrictNamespaces=yes
|
|
RestrictAddressFamilies=AF_UNIX
|
|
SystemCallArchitectures=native
|
|
ReadWritePaths=/var/backups/wowngeon/daily
|