Csound Csound-dev Csound-tekno Search About

[Cs-dev] linux init.d advice

Date2014-08-22 21:33
FromVictor Lazzarini
Subject[Cs-dev] linux init.d advice
I am looking to try and get a system booting up with csound listening for MIDI straightaway (so I
don’t need to open up a shell etc to do it). Now this system does not have an rc.local file, so 
I am wondering what is the last command in the init process, would that be /etc/rc5.d/S99…

In that case should I place my two commands in a script that is linked to /etc/rc5.d/S99z… ?
There is also an /etc/init.d/rcS, is that executed after rc?

Thanks
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie





------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-08-22 22:09
FromSteven Yi
SubjectRe: [Cs-dev] linux init.d advice
This might be useful:

http://csounds.com/journal/issue18/beagle_pi.html

There's some information about setting up auto-login and getting
csound to start.

On Fri, Aug 22, 2014 at 4:33 PM, Victor Lazzarini
 wrote:
> I am looking to try and get a system booting up with csound listening for MIDI straightaway (so I
> don’t need to open up a shell etc to do it). Now this system does not have an rc.local file, so
> I am wondering what is the last command in the init process, would that be /etc/rc5.d/S99…
>
> In that case should I place my two commands in a script that is linked to /etc/rc5.d/S99z… ?
> There is also an /etc/init.d/rcS, is that executed after rc?
>
> Thanks
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/l

Date2014-08-22 22:25
FromFelipe Sateler
SubjectRe: [Cs-dev] linux init.d advice
It depends on what distribution you are using. But I would recommend
using a systemd service file instead, they are simpler as it is a
declarative file instead of a shell script. ANd you can easily tell
systemd to start csound chrooted, as a different user, etc. It would
also restart csound if it were to crash, which is also nice.


PS: rcS is executed before any rcN.d


On Fri, Aug 22, 2014 at 4:33 PM, Victor Lazzarini
 wrote:
> I am looking to try and get a system booting up with csound listening for MIDI straightaway (so I
> don’t need to open up a shell etc to do it). Now this system does not have an rc.local file, so
> I am wondering what is the last command in the init process, would that be /etc/rc5.d/S99…
>
> In that case should I place my two commands in a script that is linked to /etc/rc5.d/S99z… ?
> There is also an /etc/init.d/rcS, is that executed after rc?
>
> Thanks
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://li

Date2014-08-22 22:30
FromVictor Lazzarini
SubjectRe: [Cs-dev] linux init.d advice
Thanks.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 22 Aug 2014, at 22:09, Steven Yi  wrote:

> This might be useful:
> 
> http://csounds.com/journal/issue18/beagle_pi.html
> 
> There's some information about setting up auto-login and getting
> csound to start.
> 
> On Fri, Aug 22, 2014 at 4:33 PM, Victor Lazzarini
>  wrote:
>> I am looking to try and get a system booting up with csound listening for MIDI straightaway (so I
>> don’t need to open up a shell etc to do it). Now this system does not have an rc.local file, so
>> I am wondering what is the last command in the init process, would that be /etc/rc5.d/S99…
>> 
>> In that case should I place my two commands in a script that is linked to /etc/rc5.d/S99z… ?
>> There is also an /etc/init.d/rcS, is that executed after rc?
>> 
>> Thanks
>> ========================
>> Dr Victor Lazzarini
>> Senior Lecturer
>> NUI Maynooth, Ireland
>> victor dot lazzarini at nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> Slashdot TV.  
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net