starting a program in xbmc-preload.conf
|
10th Aug, 2013, 10:08 PM
Post: #1
|
|||
|
|||
starting a program in xbmc-preload.conf
I have been battling with atvclient autostarting so I thiought i could load it in xbmc-preload.conf, especially since I only need it when xbmc is running.
How do I add a program to xbmc-preload.conf? |
|||
10th Aug, 2013, 10:27 PM
Post: #2
|
|||
|
|||
RE: starting a program in xbmc-preload.conf
(10th Aug, 2013 10:08 PM)markosjal Wrote: I have been battling with atvclient autostarting so I thiought i could load it in xbmc-preload.conf, especially since I only need it when xbmc is running. you can create its own upstart job that start atvclient when xbmc start. for exemple, i've done a service and mk01 do a init file https://github.com/mk01/xbian-package-upstart-xbmc-bridge/blob/master/content/etc/init/xbian-xbmc-bridge.conf looks specially the start on, stop on command. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
13th Aug, 2013, 03:37 AM
Post: #3
|
|||
|
|||
RE: starting a program in xbmc-preload.conf
(10th Aug, 2013 10:08 PM)markosjal Wrote: I have been battling with atvclient autostarting so I thiought i could load it in xbmc-preload.conf, especially since I only need it when xbmc is running. xbmc-preload is waiting for defined processes to start up. but will not start them alone - it is meant for services which does have their startup scripts, but are taking longer to start or are originally started much later in run levels. so as Belese is telling you, use upstart conf file. it's easy, the simplest would be: Code: start on starting xbmc and save it under /etc/init/avclient.conf. starting xbmc / stopped xbmc is for case avclient does not need xbmc started for it's function. it will be started before xbmc will start. if it would be dependent, then change starting xbmc to started xbmc. mk 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 »
|