patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 1d1d3af142c272e654fc5be547b4f5eb6a00ca20 862 bytes (raw)
name: host/rootfs/etc/systemd/system/s6-init-start.service 	 # note: path name is non-authoritative(*)

 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
 
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2025 Demi Marie Obenour <demiobenour@gmail.com>
[Unit]
Description=Start s6 services
# for /run/s6 and /run/service symlinks
Requires=systemd-tmpfiles-setup.service
After=systemd-tmpfiles-setup.service
# Sadly necessary
After=systemd-udev-settle.service

[Service]
User=root
PAMName=login
Type=exec
PrivateIPC=yes
RuntimeDirectory=s6
Environment=XDG_RUNTIME_DIR=/run/user/%U PATH=/usr/bin
KeyringMode=inherit
Slice=user-%U.slice
ExecStartPre=/usr/bin/cp -a /usr/share/spectrum/service %t/s6/
ExecStartPre=/usr/bin/mkfifo %t/s6/sync-fifo
ExecStart=/usr/bin/redirfd -w 3 %t/s6/sync-fifo /usr/bin/s6-svscan -d 3 -- %t/s6/service
ExecStartPost=/bin/sh -c 'read < "$1"' - %t/s6/sync-fifo
ExecStartPost=/usr/bin/s6-rc-init -l %t/s6/rc -- %t/s6/service
ExecStartPost=/usr/bin/s6-rc -l %t/s6/rc change ok-all

debug log:

solving 1d1d3af142c272e654fc5be547b4f5eb6a00ca20 ...
found 1d1d3af142c272e654fc5be547b4f5eb6a00ca20 in https://inbox.spectrum-os.org/spectrum-devel/20250904-systemd-v1-20-2a63b790a913@gmail.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20250904-systemd-v1-20-2a63b790a913@gmail.com/
diff --git a/host/rootfs/etc/systemd/system/s6-init-start.service b/host/rootfs/etc/systemd/system/s6-init-start.service
new file mode 100644
index 0000000000000000000000000000000000000000..1d1d3af142c272e654fc5be547b4f5eb6a00ca20

Checking patch host/rootfs/etc/systemd/system/s6-init-start.service...
Applied patch host/rootfs/etc/systemd/system/s6-init-start.service cleanly.

index at:
100644 1d1d3af142c272e654fc5be547b4f5eb6a00ca20	host/rootfs/etc/systemd/system/s6-init-start.service

(*) 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/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

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).