mirror of
https://github.com/marcoallegretti/karapace.git
synced 2026-03-26 21:43:09 +00:00
The systemd unit used PrivateTmp, which makes /tmp paths invisible inside the service. Disable PrivateTmp so BuildEnvironment can read manifests from /tmp.
22 lines
535 B
Desktop File
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
|