Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement OpenRC service #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 5, 2024

  1. Provide an RC service script to start usbmuxd on OpenRC systems

    This commit adds a usbmuxd service script for the OpenRC init system.
    It intends to conform more closely to the way services are started by
    udev. Previously, on non-systemd systems, udev would start the `usbmuxd`
    binary directly. This commits makes udev start `usbmuxd` in a much
    cleaner way, by using the OpenRC service manager.
    
    This adds two new `configure` flags:
    * `--with-openrc`: toggles on or off (default - off) OpenRC service
      installation and udev activation via that. Conflicts with systemd, so
      the latter must be disabled explicitly:
      `--with-openrc --without-systemd`
    * `--with-rcservicedir=DIR`: specifies directory where to install service
      file. Defaults to `$sysconfdir/init.d` (which is `/etc/init.d`)
    
    Issue: libimobiledevice#210
    Signed-off-by: BalkanMadman <[email protected]>
    BalkanMadman committed May 5, 2024
    Configuration menu
    Copy the full SHA
    093a91e View commit details
    Browse the repository at this point in the history