Using /etc/init/_.conf for autostarting services

59 views
Skip to first unread message

Colin Bester

unread,
May 28, 2014, 9:15:22 AM5/28/14
to beagl...@googlegroups.com
I am looking to add a auto start service using conf file in /etc/init but it seems that debian version on BBB presently only supports older style /etc/init.d sys  init scripts.

I thought I'd ask the group before starting to add packages to install on whether this newer version is supported or should I go straight to using systemd for startup of services.

My aim is not to stray to far from base debian image in these early days.

~C

Robert Nelson

unread,
May 28, 2014, 9:28:20 AM5/28/14
to Beagle Board
systemd is enabled in the debian image here:

http://beagleboard.org/latest-images

<and> /etc/init.d/* style script are still run in a systemd
compatibility script.

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Colin Bester

unread,
May 28, 2014, 9:30:14 AM5/28/14
to beagl...@googlegroups.com
Thanks
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/oLbHuHWUL2M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Internet Disclaimer
_________________

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and may be protected by law.
If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
_________________



William Hermans

unread,
May 28, 2014, 2:36:30 PM5/28/14
to beagl...@googlegroups.com
init.d can be made to run a service at boot up too. Is there a problem with this ?

http://www.embeddedhobbyist.com/debian-tips/beaglebone-black/beaglebone-black-init-scripts-default-gatewayand-ntpdate/


You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Colin Bester

unread,
May 28, 2014, 2:42:27 PM5/28/14
to beagl...@googlegroups.com
No right or wrong, I just want to get away from init.d. I far prefer concept of systemd, but confusion reigns due to my lack of knowledge, time to read!

William Hermans

unread,
May 28, 2014, 2:55:21 PM5/28/14
to beagl...@googlegroups.com
Ah, ok, I get that. but I'm more of a traditional "the Debian way" kind of person.

William Hermans

unread,
May 28, 2014, 2:56:40 PM5/28/14
to beagl...@googlegroups.com
Or more correctly in this case I should say "The Wheezy way", since Debian "things" have been changing fairly rapidly the last few years it seems.

John Syn

unread,
May 28, 2014, 3:06:04 PM5/28/14
to beagl...@googlegroups.com

From: William Hermans <yyr...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Wednesday, May 28, 2014 at 11:56 AM
To: <beagl...@googlegroups.com>
Subject: Re: [beagleboard] Using /etc/init/_.conf for autostarting services

Or more correctly in this case I should say "The Wheezy way", since Debian "things" have been changing fairly rapidly the last few years it seems.
Yeah, but systemd has won so we all have to get use to it ;-)

Colin Bester

unread,
May 28, 2014, 3:21:40 PM5/28/14
to beagl...@googlegroups.com
It’s crazy. I have been in software for longer than I care to mention but last time I dug deep into Linux was about 8 maybe 10 years ago - so much is the same, but so much is different!

Colin Bester

unread,
May 28, 2014, 3:23:09 PM5/28/14
to beagl...@googlegroups.com
Yup, for now it’s the way forward. Actually pretty easy all in all and I do like the concepts. I am battling a bit with ordering startup, but will push through!

~C

John Syn

unread,
May 28, 2014, 3:40:50 PM5/28/14
to beagl...@googlegroups.com

From: Colin Bester <bester...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Wednesday, May 28, 2014 at 12:22 PM

To: <beagl...@googlegroups.com>
Subject: Re: [beagleboard] Using /etc/init/_.conf for autostarting services

Yup, for now it’s the way forward. Actually pretty easy all in all and I do like the concepts. I am battling a bit with ordering startup, but will push through!
You should stop top posting as this isn’t considered good etiquette. Rather post your response just below the text you are responding to so everyone understand the context of your response. With that out the way, the order is determined by it’s dependency. Systemd will wait for the dependency to complete before starting this service. When there is no dependency, services are started in parallel. This is why Systemd is so much faster. 

systemd-analyze blame

Will help you understand the startup order.

Regards,
John

William Hermans

unread,
May 28, 2014, 4:03:54 PM5/28/14
to beagl...@googlegroups.com
Jon, or you can just deal with it. As I deal with you bottom posts. It bugs me, but I deal with it. I hate reading through a wall of text to get to the point. If i need to remember something I can always read previous posts..

Colin Bester

unread,
May 28, 2014, 4:06:53 PM5/28/14
to beagl...@googlegroups.com
Thanks!

On May 28, 2014, at 2:40 PM, John Syn <john...@gmail.com> wrote:

From: Colin Bester <bester...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Wednesday, May 28, 2014 at 12:22 PM
To: <beagl...@googlegroups.com>
Subject: Re: [beagleboard] Using /etc/init/_.conf for autostarting services

Yup, for now it’s the way forward. Actually pretty easy all in all and I do like the concepts. I am battling a bit with ordering startup, but will push through!
You should stop top posting as this isn’t considered good etiquette. Rather post your response just below the text you are responding to so everyone understand the context of your response. With that out the way, the order is determined by it’s dependency. Systemd will wait for the dependency to complete before starting this service. When there is no dependency, services are started in parallel. This is why Systemd is so much faster. 

systemd-analyze blame

Will help you understand the startup order.

Regards,
John
Reply all
Reply to author
Forward
0 new messages