pmaports/modem/qrtr/qrtr-ns.initd
Minecrell a5eb030452
modem/qrtr: cleanup (!1032)
- Fix version
- Rename init script to qrtr-ns ("nameservice") to clarify which
  service is actually started
- Use supervise-daemon
- Configure and start daemon in one command (no need for qrtr-cfg)
- Remove "before qcom_rmtfs": it should depend on qrtr-ns,
  not the other way around
- Do not activate qrtr daemon by default - this should happen automatically
  if other service files have "need qrtr-ns"
2020-03-18 14:09:17 +01:00

9 lines
233 B
Text

#!/sbin/openrc-run
supervisor=supervise-daemon
name="QRTR"
description="Qualcomm IPC router name service"
# -f should be in command_args_foreground, but then the order is wrong (1 -f)
command="/usr/bin/qrtr-ns"
command_args="-f 1"