Drop swayidle and mempi-sync service references
This commit is contained in:
@@ -44,7 +44,7 @@ linux-provision/
|
||||
│ ├── 05-git.sh # Git config, SSH key setup
|
||||
│ ├── 06-scripts.sh # ~/.local/bin (bw, zoom, env, etc.)
|
||||
│ ├── 07-uv-projects.sh # Clone + install Julian's uv tools from ~/Development
|
||||
│ ├── 08-systemd.sh # User systemd services (porridge, swayidle, etc.)
|
||||
│ ├── 08-systemd.sh # User systemd services (porridge, BW SSH, etc.)
|
||||
│ ├── 09-desktop.sh # Keybindings, hotkeys, ghostty, fonts
|
||||
│ ├── 10-docker.sh # Docker CE setup
|
||||
│ ├── 11-tweaks.sh # sysctl, kernel params, TLP/powertop, modprobe
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
[Unit]
|
||||
Description=Sync mempi database to Nextcloud
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c 'sqlite3 %h/.local/share/pi/pi.db "PRAGMA wal_checkpoint(TRUNCATE)" && cp %h/.local/share/pi/pi.db "%h/Nextcloud/2_resources/90-99 Misc/98 ocpa/mempi-pi.db"'
|
||||
@@ -58,7 +58,7 @@ fi
|
||||
|
||||
# ---- 4. idle-battery-suspend.sh — Suspend on battery after idle ----
|
||||
# Checks if AC is disconnected before suspending. Prevents suspend on desktop.
|
||||
# Used by swayidle.service (stage 08).
|
||||
# Used by systemd user service or GNOME autostart.
|
||||
if [ -f "$SCRIPTS_DIR/idle-battery-suspend.sh" ]; then
|
||||
cp "$SCRIPTS_DIR/idle-battery-suspend.sh" "$TARGET_DIR/idle-battery-suspend.sh"
|
||||
chmod +x "$TARGET_DIR/idle-battery-suspend.sh"
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
# - porridge.service : Zoom meeting transcriber daemon
|
||||
# - porridge-dictate.service : Push-to-talk transcription
|
||||
# - pi-overview.service : Session dashboard on port 3000
|
||||
# - mempi-sync.service : Sync memory DB to Nextcloud
|
||||
# - bw-ssh-keys.service : Load Bitwarden SSH keys into ssh-agent
|
||||
# - empty_downloads.service : Clear Downloads folder at login
|
||||
# ===========================================================================
|
||||
@@ -62,10 +61,7 @@ install_service_file "$SERVICES_DIR/porridge-dictate.service" "porridge-dictate.
|
||||
# ---- 3. pi-overview.service — Session dashboard ----
|
||||
install_service_file "$SERVICES_DIR/pi-overview.service" "pi-overview.service"
|
||||
|
||||
# ---- 4. mempi-sync.service + timer — Sync memory DB to Nextcloud ----
|
||||
install_service_file "$SERVICES_DIR/mempi-sync.service" "mempi-sync.service"
|
||||
|
||||
# ---- 5. bw-ssh-keys.service — Load Bitwarden SSH keys into ssh-agent ----
|
||||
# ---- 4. bw-ssh-keys.service — Load Bitwarden SSH keys into ssh-agent ----
|
||||
install_service_file "$SERVICES_DIR/bw-ssh-keys.service" "bw-ssh-keys.service"
|
||||
|
||||
# ---- 6. empty_downloads.service — Clear Downloads at login ----
|
||||
@@ -105,6 +101,6 @@ systemctl --user enable --now empty_downloads.service 2>/dev/null && ok "empty_d
|
||||
|
||||
|
||||
info "===== Service Status ====="
|
||||
systemctl --user list-units --type=service --state=running 2>/dev/null | grep -E "(porridge|swayidle|pi-overview|mempi|bw-ssh|empty)" || true
|
||||
systemctl --user list-units --type=service --state=running 2>/dev/null | grep -E "(porridge|pi-overview|bw-ssh|empty)" || true
|
||||
|
||||
ok "Stage 08 complete: user systemd services deployed."
|
||||
|
||||
Reference in New Issue
Block a user