22 lines
839 B
Desktop File
22 lines
839 B
Desktop File
[Unit]
|
|
Description=Strawberry scheduled telemetry reduction (stop -> reduce -> start)
|
|
Documentation=https://github.com/trvon/strawberry
|
|
# Orchestrates strawberry.service; do not run concurrently with a manual reduce.
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/local/lib/strawberry/strawberry-reduce.sh
|
|
TimeoutStartSec=30min
|
|
User=root
|
|
|
|
# REVIEWER NOTE: this unit is intentionally LESS sandboxed than
|
|
# strawberry-update.service (which runs with no capabilities). It must reach
|
|
# systemd to stop and start strawberry.service and rewrite the evidence store,
|
|
# so ProtectSystem=strict, PrivateDevices and an empty CapabilityBoundingSet are
|
|
# deliberately NOT set (they would break systemctl and the store rewrite).
|
|
# Only modest hardening is kept:
|
|
NoNewPrivileges=true
|
|
ProtectHome=true
|
|
ProtectClock=true
|
|
RestrictRealtime=true
|
|
LockPersonality=true
|