2022-07-22 18:16:05 -05:00
|
|
|
[Unit]
|
|
|
|
After=network-online.target nss-lookup.target
|
|
|
|
ConditionPathIsDirectory=/etc/pacman.d/gnupg/
|
|
|
|
ConditionPathIsReadWrite=/etc/pacman.d/gnupg/
|
2022-08-04 05:59:24 -05:00
|
|
|
ConditionFileIsExecutable=SCRIPT_TARGET_DIR/archlinux-keyring-wkd-sync
|
2022-07-22 18:16:05 -05:00
|
|
|
Description=Refresh existing keys of archlinux-keyring
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2022-08-04 05:59:24 -05:00
|
|
|
ExecStart=SCRIPT_TARGET_DIR/archlinux-keyring-wkd-sync
|
2022-07-22 18:16:05 -05:00
|
|
|
|
|
|
|
CapabilityBoundingSet=
|
|
|
|
DeviceAllow=
|
|
|
|
LockPersonality=true
|
|
|
|
MemoryDenyWriteExecute=true
|
|
|
|
NoNewPrivileges=true
|
|
|
|
PrivateDevices=true
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
ProtectHome=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectProc=noaccess
|
|
|
|
ProtectSystem=strict
|
|
|
|
ReadWritePaths=/etc/pacman.d/gnupg
|
|
|
|
RemoveIPC=true
|
|
|
|
RestrictAddressFamilies=~AF_PACKET AF_NETLINK
|
|
|
|
RestrictNamespaces=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
RestrictSUIDSGID=true
|
|
|
|
SystemCallArchitectures=native
|
|
|
|
SystemCallFilter=@system-service
|
|
|
|
SystemCallFilter=~@resources
|