diff options
| author | 2023-11-25 23:39:51 +0800 | |
|---|---|---|
| committer | 2026-11-20 02:07:00 +0100 | |
| commit | 60ec5e06a03f516511948daed5ee124740591d7a (patch) | |
| tree | 33f564d292c6ed36f59b05f3212820e1ff0f0e8b /docs/usbmuxd.8 | |
| parent | 3ded00c9985a5108cfc7591a309f9a23d57a8cba (diff) | |
| download | usbmuxd-60ec5e06a03f516511948daed5ee124740591d7a.tar.gz usbmuxd-60ec5e06a03f516511948daed5ee124740591d7a.tar.bz2 | |
Replace --foreground with --background
Always run in foreground by default. Service manager and supervisors
expect services to run in foreground, so they can track the lifetime of
the child process. Those that don't implement their own logic to fork
daemons anyway.
For users running usbmuxd manually, running in background by default
provides a confusing experience, since it gives the impression that
usbmuxd has exited immediately.
Anyone needing to run usbmuxd in background can use the --background
option.
Diffstat (limited to 'docs/usbmuxd.8')
| -rw-r--r-- | docs/usbmuxd.8 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/usbmuxd.8 b/docs/usbmuxd.8 index 590afdc..c40760c 100644 --- a/docs/usbmuxd.8 +++ b/docs/usbmuxd.8 @@ -32,8 +32,8 @@ Ensure proper permissions are setup for the daemon to access the directory. .B \-U, \-\-user USER Change to this user after startup (needs USB privileges). .TP -.B \-f, \-\-foreground -Do not daemonize (implies one -v). +.B \-b, \-\-background +Daemonize (double fork and run in background). .TP .B \-n, \-\-disable-hotplug Disables automatic discovery of devices on hotplug. Starting another instance @@ -44,7 +44,7 @@ Enable "--exit" request from other instances and exit automatically if no device is attached. .TP .B \-u, \-\-udev -Run in udev operation mode (implies -n and -z). +Run in udev operation mode (implies -n, -b and -z). .TP .B \-s, \-\-systemd Run in systemd operation mode (implies -z and -f). |
