@@ -122,7 +122,7 @@ build_from_source() {
122122# --- Main ---
123123
124124detect_platform
125- info " Detected platform: ${ARCH} ( ${LIBC} ) "
125+ info " Detected platform: ${ARCH} "
126126
127127# Try pre-built binary first, fall back to building from source.
128128if ! download_binary; then
@@ -226,6 +226,17 @@ else
226226 info " CRIU: not installed (optional — needed for process hibernation)"
227227fi
228228
229+ # Start the service.
230+ info " Starting wolfram service..."
231+ systemctl start wolfram
232+
233+ # Verify it's running.
234+ if systemctl is-active --quiet wolfram 2> /dev/null; then
235+ info " Wolfram is running"
236+ else
237+ warn " Wolfram failed to start — check: journalctl -u wolfram -e"
238+ fi
239+
229240# Done.
230241echo " "
231242info " Installation complete!"
@@ -235,10 +246,9 @@ echo " Config: $CONFIG_DIR/config.toml"
235246echo " Service: $SERVICE_FILE "
236247echo " Data: $DATA_DIR "
237248echo " "
238- echo " Edit config: sudo nano $CONFIG_DIR /config.toml"
239- echo " Start now: sudo systemctl start wolfram"
240- echo " View logs: sudo journalctl -u wolfram -f"
241- echo " Check status: sudo systemctl status wolfram"
242- echo " Stop: sudo systemctl stop wolfram"
243- echo " Uninstall: sudo ./uninstall.sh"
249+ echo " View logs: journalctl -u wolfram -f"
250+ echo " Check savings: cat /var/lib/wolfram/stats.json"
251+ echo " Check status: systemctl status wolfram"
252+ echo " Stop: systemctl stop wolfram"
253+ echo " Reconfigure: nano $CONFIG_DIR /config.toml && systemctl restart wolfram"
244254echo " "
0 commit comments