feat: Add prompt to restart pymc-repeater service after key import

This commit is contained in:
Lloyd
2026-01-07 21:23:22 +00:00
parent 19e5d1c775
commit 1bd3b6c382
+4
View File
@@ -142,6 +142,10 @@ if [ $? -ne 0 ]; then
echo "Error: Python script failed"
exit 1
fi
# Offer to restart service
if systemctl is-active --quiet pymc-repeater 2>/dev/null; then
read -p "Restart pymc-repeater service now? (yes/no): " RESTART
if [ "$RESTART" = "yes" ]; then
systemctl restart pymc-repeater
echo "✓ Service restarted"