20 lines
450 B
INI
20 lines
450 B
INI
[Unit]
|
|
Description=Refresh fwupd metadata and update motd
|
|
Documentation=man:fwupdmgr(1)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
CacheDirectory=fwupdmgr
|
|
StandardError=null
|
|
ProtectSystem=strict
|
|
ProtectHome=read-only
|
|
User=fwupd-refresh
|
|
RestrictAddressFamilies=AF_NETLINK AF_UNIX AF_INET AF_INET6
|
|
SystemCallFilter=~@mount
|
|
ProtectKernelModules=yes
|
|
ProtectControlGroups=yes
|
|
RestrictRealtime=yes
|
|
SuccessExitStatus=2
|
|
ExecStart=/usr/bin/fwupdmgr refresh
|