aboutsummaryrefslogtreecommitdiffstats
path: root/remote/config.example.toml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-19 19:11:44 +0200
committerDanilo M. <danix@danix.xyz>2026-10-19 19:11:44 +0200
commitfb64c88bb8672ee9bdb8172eec0252966d67404a (patch)
treeaa0e0cd6e2f6a969695e53d463270a608743678d /remote/config.example.toml
parentd9bb5ebc281f56dad278d890a871964efc4ecd75 (diff)
downloadsb-builder-fb64c88bb8672ee9bdb8172eec0252966d67404a.tar.gz
sb-builder-fb64c88bb8672ee9bdb8172eec0252966d67404a.zip
Add sbb-remote, the VM helper
Single-file stdlib helper the GUI runs over ssh. JSON commands for version, stats and jobs; job-start runs a fixed table of kinds (sbpull, sbshadow, each requiring --yes or --no) detached with setsid and no stdin, one at a time under a flock; job-follow streams a log from a byte offset so the GUI can drop and resume; job-kill sends SIGTERM to the job's process group. A job whose runner died is reported lost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'remote/config.example.toml')
-rw-r--r--remote/config.example.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/remote/config.example.toml b/remote/config.example.toml
new file mode 100644
index 0000000..d7fcd7f
--- /dev/null
+++ b/remote/config.example.toml
@@ -0,0 +1,9 @@
+# sbb-remote config on the VM: /etc/sb-builder/config.toml
+# Every key is optional; these are the defaults.
+
+state_dir = "/var/lib/sb-builder"
+repo_dir = "/var/lib/sbopkg/SBo-danix"
+upstream_branch = "current"
+slackrepo_db = "/var/lib/slackrepo/SBo-danix/database_SBo-danix_x86_64.sqlite3"
+sbpull_script = "/usr/local/share/slackrepo_setup/sbpull.bash"
+overlays = ["personal", "pentesting"]