WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: auto-start daemons/services  (Read 2121 times)

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
auto-start daemons/services
« on: October 21, 2016, 07: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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: auto-start daemons/services
« Reply #1 on: October 21, 2016, 07:59:51 AM »
Hi wysiwyg
If you have no X, put the command in tc's .profile.

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: auto-start daemons/services
« Reply #2 on: October 21, 2016, 08: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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: auto-start daemons/services
« Reply #3 on: October 21, 2016, 08:07:27 AM »
Hi wysiwyg
Yes, ~/.profile.

Offline wysiwyg

  • Sr. Member
  • ****
  • Posts: 266
Re: auto-start daemons/services
« Reply #4 on: October 21, 2016, 08:38:03 AM »
Great, thanks Rich!

Dave