Forum
[SOLVED]adding btsync to autostart - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [SOLVED]adding btsync to autostart (/thread-1792.html)



[SOLVED]adding btsync to autostart - pit79 - 21st Nov, 2013 08:00 AM

Hi,
Im trying add btsync to autostart:

Terminal

$ sudo update-rc.d btsync defaults
update-rc.d: warning: /etc/init.d/btsync missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Adding system startup for /etc/init.d/btsync ...
/etc/rc0.d/K20btsync -> ../init.d/btsync
/etc/rc1.d/K20btsync -> ../init.d/btsync
/etc/rc6.d/K20btsync -> ../init.d/btsync
/etc/rc2.d/S20btsync -> ../init.d/btsync
/etc/rc3.d/S20btsync -> ../init.d/btsync
/etc/rc4.d/S20btsync -> ../init.d/btsync
/etc/rc5.d/S20btsync -> ../init.d/btsync

after rebooting btsync dont start have to do it manually, checked wiki for this issue, but im linux noob so dunno how to sort it out.

So help ? plz Smile


RE: adding btsync to autostart - mk01 - 21st Nov, 2013 01:45 PM

after start, what runlevel is system in?

Code:
sudo runlevel

(what version of XBian are you running?)


RE: adding btsync to autostart - pit79 - 21st Nov, 2013 02:57 PM

(21st Nov, 2013 01:45 PM)mk01 Wrote:  after start, what runlevel is system in?

Code:
sudo runlevel

(what version of XBian are you running?)

N2
Beta2


RE: adding btsync to autostart - mk01 - 21st Nov, 2013 03:04 PM

@pit79

and it works from console with

Code:
sudo service btsync start

?

you can check /var/log/upstart/rc.log for output of scripts started / stopped during runlevels.


RE: adding btsync to autostart - pit79 - 21st Nov, 2013 06:24 PM

(21st Nov, 2013 03:04 PM)mk01 Wrote:  @pit79

and it works from console with

Code:
sudo service btsync start

?

you can check /var/log/upstart/rc.log for output of scripts started / stopped during runlevels.

Now i got it ... no such file or directory Tongue mkdir btsync and copy FILE btsync into and works Tongue

Thx for help


RE: adding btsync to autostart - f1vefour - 22nd Nov, 2013 01:03 AM

Please add solved to the thread title. Glad you got it working.