WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to add services to the control panel ?  (Read 2970 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
How to add services to the control panel ?
« on: October 04, 2011, 03:20:28 PM »
How can additional services be added to the control panel services window? I would like to add vnc and samba such that they will be handled just like dropbear.
big pc man

Offline ixbrian

  • Administrator
  • Sr. Member
  • *****
  • Posts: 436
Re: How to add services to the control panel ?
« Reply #1 on: October 04, 2011, 07:38:47 PM »
The scripts under /etc/init.d/services and /usr/local/etc/init.d are what shows up in the services GUI.    You would need to create a script that supports being called with the "start", "stop", and "status" parameters for it to work with the services GUI.   See the included scripts under /etc/init.d/services for dhcp and crond for examples of these scripts.