Creating a service
|
12th May, 2013, 06:07 AM
Post: #1
|
|||
|
|||
Creating a service
i can see that i can create a service , but how ?
|
|||
12th May, 2013, 05:25 PM
Post: #2
|
|||
|
|||
RE: Creating a service | |||
12th May, 2013, 06:00 PM
Post: #3
|
|||
|
|||
RE: Creating a service
or if you want to do a xbmc service,
here's one empty service : service.test.zip (Size: 712 bytes / Downloads: 18) 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 Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
20th May, 2013, 08:40 PM
Post: #4
|
|||
|
|||
RE: Creating a service
Hi,
what about the XBian's services ? I mean those listed by xbian-config... is it possible to add such service ? Cad |
|||
20th May, 2013, 08:58 PM
Post: #5
|
|||
|
|||
RE: Creating a service
(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. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
20th May, 2013, 09:02 PM
Post: #6
|
|||
|
|||
RE: Creating a service
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 |
|||
20th May, 2013, 10:43 PM
Post: #7
|
|||
|
|||
RE: Creating a service
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 Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|