mirror of
https://github.com/marcoallegretti/karapace.git
synced 2026-03-26 21:43:09 +00:00
23 lines
534 B
SYSTEMD
23 lines
534 B
SYSTEMD
|
|
[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=true
|
||
|
|
NoNewPrivileges=true
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=default.target
|