bootstrap: put simplex profile under .runtime/simplex/, apply changed units

-d is a path prefix, so pass .runtime/simplex/simplex_v1 to keep the daemon
DBs inside the profile dir. Also detect a changed rendered unit and restart
already-running services so a rerun applies template changes.
This commit is contained in:
Denton Social committed 2026-09-26 17:27:47 -05:00
1 parent a6f46b735d
commit 5df560a922
2 files changed
+25 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ Wants=network-online.target
[Service]
Type=simple
ExecStart=@REPO@/.runtime/bin/simplex-chat -p @PORT@ -d @REPO@/.runtime/simplex -k "" --relay --headless --user-display-name "@DISPLAY_NAME@"
ExecStart=@REPO@/.runtime/bin/simplex-chat -p @PORT@ -d @REPO@/.runtime/simplex/simplex_v1 -k "" --relay --headless --user-display-name "@DISPLAY_NAME@"
Restart=always
RestartSec=10
StandardOutput=journal