2022-07-22 00:40:20 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Perform remote backup
|
|
|
|
|
|
|
|
[Service]
|
2023-11-13 16:46:29 -05:00
|
|
|
CapabilityBoundingSet=CAP_DAC_READ_SEARCH
|
2022-07-22 02:16:36 -04:00
|
|
|
CPUSchedulingPolicy=batch
|
2022-07-22 00:40:20 -04:00
|
|
|
ExecStart=/usr/local/bin/remote-backup
|
2023-08-03 12:54:17 -04:00
|
|
|
IOSchedulingPriority=7
|
2022-08-11 13:37:29 -04:00
|
|
|
LockPersonality=true
|
|
|
|
MemoryDenyWriteExecute=true
|
2023-08-03 12:54:17 -04:00
|
|
|
Nice=19
|
2023-08-03 13:07:25 -04:00
|
|
|
NoNewPrivileges=true
|
2022-08-11 13:37:29 -04:00
|
|
|
PrivateDevices=true
|
|
|
|
PrivateIPC=true
|
|
|
|
PrivateTmp=true
|
|
|
|
ProcSubset=pid
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectProc=invisible
|
|
|
|
ProtectSystem=strict
|
|
|
|
RemoveIPC=true
|
|
|
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
|
|
|
RestrictNamespaces=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
RestrictSUIDSGID=true
|
|
|
|
SystemCallArchitectures=native
|
|
|
|
SystemCallFilter=@system-service
|
2023-02-10 06:00:15 -05:00
|
|
|
SystemCallFilter=~@obsolete
|
2022-07-22 00:40:20 -04:00
|
|
|
Type=oneshot
|
2022-08-11 13:37:29 -04:00
|
|
|
UMask=0077
|
2022-07-22 00:40:20 -04:00
|
|
|
User=root
|
|
|
|
WorkingDirectory=/root
|