-
Notifications
You must be signed in to change notification settings - Fork 6
splashtop_service_restart_macos.sh
Corey Watson edited this page Dec 1, 2025
·
1 revision
Restarts the Splashtop Streamer service on macOS.
This script restarts the Splashtop Streamer service on macOS by unloading and reloading the launch daemon, which is useful for troubleshooting connectivity issues or applying configuration changes.
Restarts the Splashtop Streamer service on macOS by unloading and reloading the launch daemon.
- macOS
- Root/sudo privileges
- Splashtop Streamer installed
The script uses a hardcoded value:
-
PLIST_PATH: Path to Splashtop launch daemon (/Library/LaunchDaemons/com.splashtop.streamer-for-admin.plist)
- Checks if the Splashtop launch daemon plist file exists
- Stops the Splashtop service using launchctl unload
- Starts the Splashtop service using launchctl load
- Reports restart status
- Requires sudo/root privileges to manage system launch daemons
- Verifies Splashtop is installed before attempting restart
- Gracefully handles service stop errors (allows restart even if service wasn't running)
-
0= Success -
1= Failure (Splashtop not installed or service failed to start)
[ SPLASHTOP SERVICE RESTART - macOS ]
--------------------------------------------------------------
Stopping Splashtop service...
Starting Splashtop service...
[ COMPLETE ]
--------------------------------------------------------------
Splashtop services restarted successfully
- v1.0.0 - Initial release
- View Script Source
- Scripts - Back to script index