mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 21:30:41 +00:00
- Add default `LIBVIRT_URI`, `HOME`, and `XDG_CACHE_HOME` environment variable handling for `virsh` commands. - Ensure writable cache directories for the service user in packaging scripts. - Update systemd service to include libvirt-related environment defaults. - Bump orchestrator version to 0.1.7. Signed-off-by: Till Wegmueller <toasterson@gmail.com>
22 lines
607 B
Desktop File
22 lines
607 B
Desktop File
[Unit]
|
|
Description=Solstice CI Orchestrator
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=-/etc/default/solstice-orchestrator
|
|
EnvironmentFile=-/etc/solstice/orchestrator.env
|
|
# Provide sane defaults for libvirt client tools when running as system user
|
|
Environment=HOME=/var/lib/solstice-ci
|
|
Environment=XDG_CACHE_HOME=/var/lib/solstice-ci/.cache
|
|
Environment=LIBVIRT_DEFAULT_URI=qemu:///system
|
|
ExecStart=/usr/bin/solstice-orchestrator
|
|
Restart=on-failure
|
|
RestartSec=3s
|
|
User=solstice
|
|
Group=solstice
|
|
RuntimeDirectory=solstice
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|