[proaudio] jackd init script |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx <proaudio@xxxxxxxxxxxxxxxxxxx>
- Subject: [proaudio] jackd init script
- From: Dominique Michel <dominique.michel@xxxxxxxxx>
- Date: Sat, 24 Jan 2009 14:10:27 +0000
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXy8ubtkoXo7+b1+fbN cGKCeWDtamweFA8eMkmKPkPtvcWRoqyV0Pn7AAACbElEQVQ4jXXTMWvbQBQA4MOlizsdXEXp KAi09mKcLZ0EJxONDRJVkikg9AtqTm63gtHDmVJs1GsnC0JiaTMJGN2f67uzznJb+gZj9PFO 7717IqdtvCAmem4bxMLp/2BEyEBF1+U/0H8uhI6rv+BVLNrY/gH9T0L8yAxk2yMY3YuZxDCn TY/gpBByyTGktIcZOIvFjPNJmqYJDwrx3cIoBrE0zzG4FF8tfBAwM+DonKCYWjgROZ6Upjcm 5Qje58JAmlKKGfIAjzaDUuogZBY2Bjg14eDbywMIqZvwqgqFBcVFB0seYONLb00ZZlh4p0F6 FHNoUMyKAzxowJSQTyj+XloYs3MN3GeMpzyYSTMshLM00ODpWlPp4SDbqs4cViDcGAgmlK/a PsaOg7DvIQ3wzANMqB/iQW/XTkoTLO6XhSeHUoQKe+NLjyY/Ldx7CW2D4WTYhZ3V0GP64RpP Q/E66IUWMLj3+nDn4w2ejMACyXFeHZy6ETcZehc49bv1GQ/0bazNuzm97mDkhnoie9i30WYM w/YCnYT7Fx308s98n0IT//Jod1+aOzdzYXLVbftol+PC+REG3u+0AxdEtuSMB6G+DLGwMH4E vXGmJn8VCLM9LhmrOAMQYt5Wi/DFgIC52iFkUzMpDVmjAaDZRGC+JGwDqzJ/G5fUUcWZAaE7 YfvPLYtIU1Wb4A2IeS7uDMgcIFutiCr766qGfKHyuxvTIERKXVNSN27lDgCuBuojlpxIyJV6 ritS1uWWuHF2Ww7qcIKbqEFVNbmtmm3vGSCHbVXjikrY3SpVxwQWw2aIjwG+ueXTJDmHeK6a HfwGyU5ZSlGeSRQAAAAASUVORK5CYII=
I am writing a jackd init script. I want this in order to be able to start
timidity as a JACK client at boot time. jackd must start as user joe.
If anyone is interested, I can write an ebuild for this and add it into the
overlay.
It is 2 files, /etc/conf.d/jackd and /etc/init.d/jackd. It work, but I am not
100 % sure on how to read jackd config. It is 2 solutions:
1) a variable into /etc/conf.d/jackd
2) to read /home/user/.jackdrc
I choose 2) but is somewhat system specific because /etc/init.d/jackd use sed
to filter out the options from ~/.jackrc
So, 1) would be better for an init script. But in the other hand, it is better
to use 2) and jackd user config.
A solution would be to add sed as dependency into the ebuild. A better way
would be to get ride of sed and still use jackd user config. Any clue on how to
do this?
Ciao,
Dominique
Attachment:
jackd
Description: Binary data
Attachment:
jackd
Description: Binary data