Search code examples
linuxterminaldebianexecutablestartup

Run executable on system startup on debian


I would like to do the following on system startup on debian:

./home/user/bittorrent_sync_i386/btsync

I downloaded the application here:

http://download-new.utorrent.com/endpoint/btsync/os/linux-i386/track/stable

The error I get is:

"bash ./home/user/bittorrent_sync_i386/btsync: File or directory not found."

I only can do:

cd /home/user/bittorrent_sync_i386/
./btsync

I would just like to run the application on startup on debian. I also found this:

http://xmodulo.com/how-to-automatically-start-program-on-boot-in-debian.html

But how would I modify this script to do what I want? Sorry I am quite new to debian.


Solution

  • If you launch

    /home/user/bittorrent_sync_i386/btsync
    

    Without the dot. Does it work better ?