Creating a service - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Configuration (/forum-17.html) +--- Thread: Creating a service (/thread-893.html) |
Creating a service - Jhinta - 12th May, 2013 06:07 AM i can see that i can create a service , but how ? RE: Creating a service - wilcoo - 12th May, 2013 05:25 PM Here some info http://www.shayanderson.com/linux/add-startup-script-or-service-with-linux-on-bootup.htm RE: Creating a service - belese - 12th May, 2013 06:00 PM or if you want to do a xbmc service, here's one empty service : [attachment=167] you can install it by (settings->addons>install from zip file) or unzip in /home/xbian/.xbmc/addons/ to change the name, edit addon.xml and edit id and name your service code have to be in default.py RE: Creating a service - elcado - 20th May, 2013 08:40 PM Hi, what about the XBian's services ? I mean those listed by xbian-config... is it possible to add such service ? Cad RE: Creating a service - mk01 - 20th May, 2013 08:58 PM (20th May, 2013 08:40 PM)elcado Wrote: Hi, by editing https://github.com/xbianonpi/xbian-package-config-shell/blob/master/content/usr/local/include/xbian-config/config/services (so /usr/local/include/xbian-config/config/services). feel free to request-pull the changes to apply for official xbian distro. RE: Creating a service - elcado - 20th May, 2013 09:02 PM ok, I think I answered myself my question... After having built my own init.d script service (actually a squeezeslave one following this blog post), I manually edited the "/usr/local/include/xbian-config/config/services" config file to add a line with my service name... and voila ! Cad RE: Creating a service - belese - 20th May, 2013 10:43 PM ok, another way is xbmc -> settings -> xbian -> service ->add custom service (advanced mode) or via bash (... under service list) it's not me that have do that, but think in the name, you have to put the init script name, if process name is the same, nothing in daemon, otherwise process name(s) in deamon. Belese |