Initial commit: StreamFlow IPTV platform
This commit is contained in:
commit
73a8ae9ffd
1240 changed files with 278451 additions and 0 deletions
28
desktop-app/uninstall-update-server.sh
Executable file
28
desktop-app/uninstall-update-server.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Uninstall StreamFlow Update Server systemd service
|
||||
|
||||
SERVICE_NAME="streamflow-update-server"
|
||||
SYSTEMD_DIR="$HOME/.config/systemd/user"
|
||||
|
||||
echo "🗑️ Uninstalling StreamFlow Update Server Service"
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
|
||||
# Stop the service
|
||||
echo "⏹️ Stopping service"
|
||||
systemctl --user stop "$SERVICE_NAME" 2>/dev/null
|
||||
|
||||
# Disable the service
|
||||
echo "❌ Disabling service"
|
||||
systemctl --user disable "$SERVICE_NAME" 2>/dev/null
|
||||
|
||||
# Remove service file
|
||||
echo "📁 Removing service file"
|
||||
rm -f "$SYSTEMD_DIR/$SERVICE_NAME.service"
|
||||
|
||||
# Reload systemd daemon
|
||||
echo "🔄 Reloading systemd daemon"
|
||||
systemctl --user daemon-reload
|
||||
|
||||
echo ""
|
||||
echo "✅ Uninstallation complete!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue