Skip to content

[Bug] Can't kill usbmuxd #26

@clburlison

Description

@clburlison

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:

  1. 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
    
  2. Just remove the kill usbmuxd example from the readme (my personal favorite)
  3. 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 with launchctl

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions