Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: wysiwyg on October 21, 2016, 10:52:03 AM

Title: auto-start daemons/services
Post by: wysiwyg on October 21, 2016, 10:52:03 AM
Good morning all!  I've quickly looked for an answer to this and just want to confirm my findings:

- To auto-start Xorg programs when logging in (e.g. rdesktop), place scripts in ~/.X.d directory?

- To auto-start daemons/services during bootup (e.g. samba server, bind), edit /opt/bootlocal.sh?

Is there an equivalent to the first bullet in a text (cli) environment?

Thanks,
Dave
Title: Re: auto-start daemons/services
Post by: Rich on October 21, 2016, 10:59:51 AM
Hi wysiwyg
If you have no X, put the command in tc's .profile.
Title: Re: auto-start daemons/services
Post by: wysiwyg on October 21, 2016, 11:05:45 AM
Hi wysiwyg
If you have no X, put the command in tc's .profile.

Thanks for the response Rich, you're referring to the ~/.profile file correct?

Dave
Title: Re: auto-start daemons/services
Post by: Rich on October 21, 2016, 11:07:27 AM
Hi wysiwyg
Yes, ~/.profile.
Title: Re: auto-start daemons/services
Post by: wysiwyg on October 21, 2016, 11:38:03 AM
Great, thanks Rich!

Dave