mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-10-01 04:45:34 -04:00
37 lines
792 B
Desktop File
37 lines
792 B
Desktop File
[Unit]
|
|
Description=Perform remote backup
|
|
|
|
[Service]
|
|
CapabilityBoundingSet=CAP_DAC_READ_SEARCH
|
|
CPUSchedulingPolicy=batch
|
|
ExecStart=/usr/local/bin/remote-backup
|
|
IOSchedulingPriority=7
|
|
LockPersonality=true
|
|
MemoryDenyWriteExecute=true
|
|
Nice=19
|
|
NoNewPrivileges=true
|
|
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
|
|
SystemCallFilter=~@obsolete
|
|
Type=oneshot
|
|
UMask=0077
|
|
User=root
|
|
WorkingDirectory=/root
|