Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit a17e826

Browse files
CopilotStolas
andcommitted
Delete IMPLEMENTATION_SUMMARY.md and add warning for systemd service
Co-authored-by: Stolas <610753+Stolas@users.noreply.github.com>
1 parent eb396e7 commit a17e826

File tree

2 files changed

+22
-121
lines changed

2 files changed

+22
-121
lines changed

IMPLEMENTATION_SUMMARY.md

Lines changed: 0 additions & 121 deletions
This file was deleted.

startup.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,28 @@ setup_system() {
11791179
fi
11801180
echo ""
11811181
echo "To change your stack configuration, delete ${CONFIG_FILE} and run ./startup.sh again"
1182+
1183+
# Check if the systemd service is installed and warn if not
1184+
SERVICE_NAME="iot-scada-stack"
1185+
SYSTEMD_USER_DIR="${HOME}/.config/systemd/user"
1186+
SERVICE_FILE="${SYSTEMD_USER_DIR}/${SERVICE_NAME}.service"
1187+
1188+
if [ ! -f "${SERVICE_FILE}" ]; then
1189+
echo ""
1190+
echo "================================================================"
1191+
echo " IMPORTANT NOTICE "
1192+
echo "================================================================"
1193+
echo "The systemd service is NOT installed."
1194+
echo "Containers may stop when you disconnect from SSH!"
1195+
echo ""
1196+
echo "To ensure services persist after SSH logout, run:"
1197+
echo " ./install-service.sh install"
1198+
echo ""
1199+
echo "This will:"
1200+
echo " - Enable automatic startup on system boot"
1201+
echo " - Keep containers running after SSH disconnection"
1202+
echo "================================================================"
1203+
fi
11821204
}
11831205

11841206
# --- Full Breakdown function: Containers and SMB share ---

0 commit comments

Comments
 (0)