-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Since the usbmuxd process is ran by the _usbmuxd user account the readme example for kill usbmuxd won't work.
Three routes I can see:
- You add sudo to the PhoneController.cs and tell users how to modify their /etc/sudoers file to allow password less process restarts.
YOUR_COMPUTER_USERNAME ALL=(ALL) /sbin/reboot,/usr/bin/killall - Just remove the
kill usbmuxdexample from the readme (my personal favorite) - Use a LaunchDaemon with a watch file path that kills the usbmuxd process. You would need to modify the phone controller to touch a file like
touch /private/tmp/.restart_usbmuxd. Also users would need to script or cp the launch daemon to the correct location and start the service withlaunchctl
I can provide more details if you are interested in option 3. I have no real stake in this since I don't use this feature.
Metadata
Metadata
Assignees
Labels
No labels