patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 7b1f20d6ffe826f92806c601572a11bac3fc5fca 329 bytes (raw)
name: host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/run 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
#!/bin/execlineb -WS1
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2025 Alyssa Ross <hi@alyssa.is>

# Move into the cgroup with all per-VM services
# Do not wait for the existing processes in the slice to finish.
cgroup-setup --no-wait /vm-services.slice/vm-${1}.slice

export VM $1

s6-svscan -d3 data/service

debug log:

solving 7b1f20d6ffe826f92806c601572a11bac3fc5fca ...
found 7b1f20d6ffe826f92806c601572a11bac3fc5fca in https://inbox.spectrum-os.org/spectrum-devel/20260805-cgroups-v6-11-086c0f00f55f@gmail.com/
found bf90e99eef4106a9ad17dfba310b6edb3eaa64a3 in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100755 bf90e99eef4106a9ad17dfba310b6edb3eaa64a3	host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/run

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260805-cgroups-v6-11-086c0f00f55f@gmail.com/
diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/run b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/run
index bf90e99eef4106a9ad17dfba310b6edb3eaa64a3..7b1f20d6ffe826f92806c601572a11bac3fc5fca 100755

Checking patch host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/run...
Applied patch host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/run cleanly.

index at:
100755 7b1f20d6ffe826f92806c601572a11bac3fc5fca	host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/run

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).