particle-os-tools/restart_daemon.sh
Joe Particle 5c7a697ea4
Some checks failed
Compile apt-layer (v2) / compile (push) Failing after 3h9m6s
Phase 3: Testing & Cleanup - Complete D-Bus Integration Testing
- D-Bus methods, properties, and signals all working correctly
- Shell integration tests pass 16/19 tests
- Core daemon fully decoupled from D-Bus dependencies
- Clean architecture with thin D-Bus wrappers established
- Signal emission using correct dbus-next pattern
- Updated test scripts for apt-ostreed service name
- Fixed dbus-next signal definitions and emission patterns
- Updated TODO and CHANGELOG for Phase 3 completion
2025-07-17 04:32:52 +00:00

30 lines
No EOL
718 B
Bash
Executable file

#!/bin/bash
# Restart Daemon Script
# This script restarts the daemon to pick up the updated shell integration
set -e
echo "=== Restarting apt-ostree Daemon ==="
echo
# Stop the daemon
echo "1. Stopping daemon..."
sudo systemctl stop apt-ostree.service
# Start the daemon
echo "2. Starting daemon..."
sudo systemctl start apt-ostree.service
# Check status
echo "3. Checking daemon status..."
sleep 2
sudo systemctl status apt-ostree.service --no-pager -l
echo
echo "=== Daemon Restart Complete ==="
echo "The daemon has been restarted with updated shell integration."
echo "You can now run the integration tests to verify it's working."
echo
echo "To run integration tests:"
echo " ./run_integration_tests.sh"