stack: row 190 round 2 (#1688): T56 after row 189's T55, N1 copy and usage, N3 Console comment, N5 and N6
Filbert's round 1 (comment 29634) and Sage's N3 ruling (sage-1474). Row 189 also named a test T55, so row 190's is T56. webui-service.sh copy refuses --instance like stack-copy.sh copy; TOOLS.md shows --instance on the bus and discord usage. A named Console unit's comment names MOSAIC_CONFIG, and the default keeps the template's line. check --instance needs the wrapper's MOSAIC_CONFIG line. TOOLS.md says an existing directory keeps its mode.
This commit is contained in:
1 parent
ab1d2ee9e6
commit
cdac7ba92b
7 files changed
+82
-21
No files matched your search
+4
-2
@@ -35,8 +35,9 @@
|
||||
# in a unit template: the default deletes the
|
||||
# @CONFIG_ENV@ line, so its render is byte-identical to
|
||||
# the template before row 190; NAME gets a comment and
|
||||
# Environment=MOSAIC_CONFIG=<config>, and " [NAME]" after
|
||||
# the Description
|
||||
# Environment=MOSAIC_CONFIG=<config>, " [NAME]" after
|
||||
# the Description, and the Console comment's "sets no
|
||||
# MOSAIC_*" says it sets MOSAIC_CONFIG (Sage, N3)
|
||||
#
|
||||
# Also set: MOSAIC_INSTANCE (dev or NAME), MOSAIC_INSTANCE_CONFIG,
|
||||
# MOSAIC_INSTANCE_CONFIG_DIR, MOSAIC_INSTANCE_DATA_ROOT (empty when no flag
|
||||
@@ -105,6 +106,7 @@ instance_select() {
|
||||
-e "s|^@CONFIG_ENV@\$|# Stack instance $MOSAIC_INSTANCE (row 190): the system config its processes read.\\nEnvironment=MOSAIC_CONFIG=$MOSAIC_INSTANCE_CONFIG|"
|
||||
-e "s|@SESSION_ENV@|$SESSION_ENV|g"
|
||||
-e "s|^\\(Description=.*\\)\$|\\1 [$MOSAIC_INSTANCE]|"
|
||||
-e 's|The unit sets no MOSAIC_\*, CLAUDE\*, CODEX\* or PI_\* variable\.$|The unit sets MOSAIC_CONFIG and no other MOSAIC_*, CLAUDE*, CODEX* or PI_* variable.|'
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user