2022-07-22 00:40:20 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Perform remote backup
|
|
|
|
|
|
|
|
[Service]
|
2022-08-11 13:37:29 -04:00
|
|
|
CapabilityBoundingSet=
|
2022-07-22 02:16:36 -04:00
|
|
|
CPUSchedulingPolicy=batch
|
2022-07-22 00:40:20 -04:00
|
|
|
ExecStart=/usr/local/bin/remote-backup
|
2022-08-11 13:37:29 -04:00
|
|
|
LockPersonality=true
|
|
|
|
NoNewPrivileges=true
|
|
|
|
MemoryDenyWriteExecute=true
|
|
|
|
PrivateDevices=true
|
|
|
|
PrivateIPC=true
|
|
|
|
PrivateTmp=true
|
|
|
|
PrivateUsers=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
|
|
|
|
SystemCallFilter=~@resources @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
|