:: [devuan-dev] bug#756: bluealsa only…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Klaus Ethgen
Datum:  
To: Mark Hindley
CC: 756
Betreff: [devuan-dev] bug#756: bluealsa only comes with systemd service and as such is unusable on devuan
Hi,

Am Mo den 3. Apr 2023 um 16:13 schrieb Mark Hindley:
> Do you have an initscript or udev rules that works? Can you write one?


#! /bin/sh /lib/init/init-d-script
### BEGIN INIT INFO
# Provides: bluealsa
# Required-Start:    $local_fs $syslog $remote_fs dbus
# Required-Stop:     $local_fs $syslog $remote_fs
# X-Start-Before:    bluetooth
# X-Stop-After:      bluetooth
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start bluealsa daemons
### END INIT INFO


DAEMON=/usr/bin/bluealsa
DAEMON_ARGS="--profile=hsp-ag --profile=a2dp-source --profile=a2dp-sink --syslog"
PIDFILE=/run/bluealsa.pid
START_ARGS="--background --make-pidfile"

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@???>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C