karapace/data/systemd/karapace-dbus.service
Marco Allegretti 5ac58ba575 dbus: allow manifests under /tmp
The systemd unit used PrivateTmp, which makes /tmp paths invisible
inside the service.

Disable PrivateTmp so BuildEnvironment can read manifests from /tmp.
2026-02-24 11:47:13 +01:00

22 lines
535 B
Desktop File

[Unit]
Description=Karapace Environment Manager D-Bus Service
Documentation=https://github.com/karapace/karapace
[Service]
Type=dbus
BusName=org.karapace.Manager1
ExecStart=/usr/bin/karapace-dbus
# The service implements a 30s idle timeout internally;
# systemd will restart it on the next D-Bus activation.
TimeoutStopSec=5
Restart=on-failure
RestartSec=2
# Security hardening
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=%h/.local/share/karapace
PrivateTmp=false
NoNewPrivileges=true
[Install]
WantedBy=default.target