- 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"
10 lines
233 B
Plaintext
10 lines
233 B
Plaintext
#!/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"
|