Projects
home:lele
strata-agent
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
strata-agent-updates.service
Added
@@ -0,0 +1,34 @@ +Unit +Description=Report this host's pending OS updates to Strata +Documentation=file:///usr/share/doc/packages/strata-agent/README.md +Wants=network-online.target +After=network-online.target +ConditionPathExists=/etc/strata-agent/credentials + +Service +Type=oneshot +ExecStart=/usr/bin/strata-agent updates +TimeoutStartSec=10min +Nice=10 +IOSchedulingClass=idle +# The listing is read-only (zypper with ZYPP_READONLY_HACK, no repository refresh). With +# UPDATES_REFRESH=yes, zypper must write its cache and lock: add a drop-in +# (systemctl edit strata-agent-updates.service) with +# Service +# ReadWritePaths=/var/cache/zypp /run +PrivateTmp=yes +ProtectSystem=strict +ReadWritePaths=/var/lib/strata-agent +ProtectHome=read-only +NoNewPrivileges=yes +# The agent drops SETPCAP and, unless refreshing, every other capability before doing work. +CapabilityBoundingSet=CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER +SystemCallFilter=~@mount +SystemCallArchitectures=native +RestrictNamespaces=yes +PrivateDevices=yes +ProtectKernelTunables=yes +ProtectControlGroups=yes +RestrictSUIDSGID=yes +StateDirectory=strata-agent +StateDirectoryMode=0700
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.