Keresés

Új hozzászólás Aktív témák

  • CactuS

    Arcképgyáros

    válasz Vladi #29331 üzenetére

    Létrehoztam az én változatomat, de elindítani nem akarja, plus az update-rc.d btsync defaults-re az alábbi hibát adja:

    cubie@Cubian:/Hdd/btsync$ update-rc.d btsync defaults
    update-rc.d: using dependency based boot sequencing
    insserv: Service network has to be enabled to start service btsync_server
    insserv: Service local_fs has to be enabled to start service btsync_server
    insserv: exiting now!
    update-rc.d: error: insserv rejected the script header

    A file így néz ki:
    GNU nano 2.2.6 File: /etc/init.d/btsync

    #! /bin/sh
    # /etc/init.d/btsync
    ### BEGIN INIT INFO
    # Provides: btsync_server
    # Required-Start: $ network $ local_fs
    # Required-Stop: $ network $ local_fs
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: BTSync
    # Description: Server BtSync
    ### END INIT INFO
    #

    # Start or Stop BT Sync
    case "$1" in
    begin)
    /Hdd/btsync/./btsync
    ;;
    stop)
    pkill btsync
    ;;
    *)
    echo "Usage: /etc/init.d/btsync {start | stop}"
    exit 1
    ;;
    esac

    exit 0

    A másik problémám, hogy a dump config file kiírás file-ba miért nem műküdhet?:B

    [M](C)cubie@Cubian:/Hdd/btsync$ ./btsync --dump-sample-config > sync.conf
    -bash: sync.conf: Permission denied
    (/C)[/M]

    cubie@Cubian:/Hdd/btsync$ sudo ./btsync --dump-sample-config > sync.conf
    -bash: sync.conf: Permission denied

    [ Szerkesztve ]

    Have you ever noticed that anybody driving slower than you is an idiot, and anyone going faster than you is a maniac? George Carlin

Új hozzászólás Aktív témák