Oliviakrk

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Oliviakrk

  1. You know that every updates brakes the autostart configs?

     

    I have disabled the btsync autostart...as I only want it to run at night when I have no bandwidth caps. And i use cron for this. 

     

    Every update restores the default settings (on at runlevels 2.3.4.5....)

     

    I think the default settings should be:

     

    chkconfig --list  | grep -i btsync
    btsync                    0:off  1:off  2:off  3:off  4:off  5:off  6:off
  2. Hi

     

    I installed btsync from your repository on my rpi. 

     

    I wanted to run btsync between 0.15-5.15 as during that time I do not have bandwidth cap. As normal I tried to set up cron.

     

    First I tried:

      15  0  *   *   *     root /etc/init.d/btsync start

    It did not work... I also tried to create a script to start sync and run it using cron

      3  8  *   *   *     root /bin/bash /root/btsync_start.sh

     

    root@Osiris(08:14:21)~$ cat btsync_start.sh
    #!/bin/bash -
    PATH="/bin:/sbin:/usr/bin:/usr/sbin:/opt/usr/bin:/opt/usr/sbin:/usr/local/bin:/usr/local/sbin"
    service btsync start
     
     
    It is not working.From cron log I get information that it was executed.
    Oct  6 08:03:01 Osiris /USR/SBIN/CRON[4147]: (root) CMD (root /bin/bash /root/btsync_start.sh)
     
    /etc/init.d/btsync status is not showing anything afterwards.
     
     
    When I run /etc/init.d/btsync start/stop by hand it is working.
     
     
    Any clues?