#!/sbin/openrc-run name="ConnMan" description="Daemon for managing internet connections" : ${cfgfile:=/etc/connman/main.conf} : ${start_wait=50} # milliseconds command=/usr/sbin/connmand command_args="$command_args -c $cfgfile --nodaemon" command_background="yes" pidfile="/run/$RC_SVCNAME.pid" required_files="$cfgfile" start_stop_daemon_args=" ${start_wait:+--wait $start_wait} ${start_stop_daemon_args:-} " # The leading space is to avoid fallback to $start_stop_daemon_args when this # is empty (supervise-daemon doesn't support --wait). supervise_daemon_args=" $supervise_daemon_args" depend() { need dbus provide net }