quorate/services/oci-l4-relay-guest/image/systemd/oci-l4-relay-telemetry.service

34 lines
928 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Report sanitized OCI L4 relay telemetry
After=nftables.service oci-l4-relay-bootstrap.service
ConditionPathExists=/etc/oci-l4-relay/config.json
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/oci-l4-relay-guest telemetry
LogNamespace=oci-l4-relay
RuntimeDirectory=oci-l4-relay-telemetry
RuntimeDirectoryMode=0755
RuntimeDirectoryPreserve=yes
CapabilityBoundingSet=CAP_NET_ADMIN
LockPersonality=true
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectClock=true
ProtectControlGroups=true
ProtectHome=true
ProtectHostname=true
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=strict
RestrictAddressFamilies=AF_UNIX AF_INET AF_NETLINK
RestrictNamespaces=true
RestrictRealtime=true
RestrictSUIDSGID=true
StandardError=journal+console
StandardOutput=journal+console
SystemCallArchitectures=native
SystemCallFilter=@system-service