mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
chore(xenplatform): elf loader should async load the file (#197)
* fix(build): remove unused environment variables * chore(xenplatform): elf loader should async load the file
This commit is contained in:
@ -7,7 +7,7 @@ remove_service_if_exists() {
|
||||
UNIT_PATH="$(systemctl show -P FragmentPath "${1}")"
|
||||
if [ -f "${UNIT_PATH}" ]
|
||||
then
|
||||
echo "[WARN] disabling removing systemd unit ${UNIT_PATH}" > /dev/stderr
|
||||
echo "[WARN] disabling and removing systemd unit ${UNIT_PATH}" > /dev/stderr
|
||||
systemctl disable --now "${1}" || true
|
||||
rm "${UNIT_PATH}"
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/sbin/openrc-run
|
||||
description="Krata Control Daemon"
|
||||
description="Krata Isolation Engine"
|
||||
command="/usr/libexec/kratad"
|
||||
supervisor="supervise-daemon"
|
||||
output_log="/var/log/kratad.log"
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Krata Control Daemon
|
||||
Description=Krata Isolation Engine
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=Krata Networking Daemon
|
||||
Description=Krata Networking Engine
|
||||
|
||||
[Service]
|
||||
Wants=kratad.service
|
||||
|
Reference in New Issue
Block a user