File thanos-component.service of Package thanos

[Unit]
Description=Thanos __COMPONENT_PRETTY__

After=prometheus.service
Wants=prometheus.service

[Service]
User=thanos
Group=thanos

EnvironmentFile=/etc/default/thanos
EnvironmentFile=/etc/default/thanos-__COMPONENT__

ExecStart=/usr/bin/thanos $THANOS_GLOBAL_ARGS __COMPONENT__ $THANOS___COMPONENT_UPPER___ARGS

SyslogIdentifier=thanos-__COMPONENT__

KeyringMode=private
LockPersonality=yes
MemoryDenyWriteExecute=yes
MountFlags=private
NoNewPrivileges=yes
PrivateDevices=yes
PrivateTmp=yes
ProtectClock=yes
ProtectControlGroups=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectSystem=strict
RemoveIPC=yes
RestrictAddressFamilies=AF_INET AF_INET6
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallFilter=@system-service

[Install]
WantedBy=multi-user.target
openSUSE Build Service is sponsored by