-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkui.service
More file actions
27 lines (21 loc) · 864 Bytes
/
kui.service
File metadata and controls
27 lines (21 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[Unit]
Description=KUI - Web-based KVM User Interface
Documentation=https://github.com/kui/kui
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
Restart=on-failure
RestartSec=5
ExecStart=/usr/local/bin/kui --config /etc/kui/config.yaml
# Alternate: relocatable tree — logical /etc and /var paths open under the prefix:
# /opt/kui-run/etc/kui/config.yaml, /opt/kui-run/var/lib/kui/..., etc.
# ExecStart=/usr/local/bin/kui --prefix /opt/kui-run --config /etc/kui/config.yaml
# Runtime data: git templates, audit chain, SQLite DB
# Must exist and be writable by the service user.
# WorkingDirectory is not a substitute for --prefix; prefix resolution is independent.
WorkingDirectory=/var/lib/kui
# Optional: override config path via environment
# Environment=KUI_CONFIG=/etc/kui/config.yaml
[Install]
WantedBy=multi-user.target