There may be cases where you want your SyncBackPro/SE program to be able to connect to your SyncBack Touch instance running on a Ubuntu Linux computer at any time, from the moment the Ubuntu system starts, without the need to login and run SyncBack Touch manually. There are different ways to achieve this on Linux so we'll just give one example using the rc-local.service which is being run by the Systemd component.


NOTE: At this point it is assumed that the user has already installed and successfully run SyncBack Touch manually which means the application has already the execute permission (+x) needed to run. Also the Systemd should be already configured and enabled. If that is not the case then you will have to enable it first. You may read this web article for instruction on how to do that. (https://www.linuxbabe.com/linux-server/how-to-enable-etcrc-local-with-systemd)


All that it takes is adding the full path to the SyncBack Touch executable inside the system file rc.local script located in the /etc folder.


Open a terminal window and navigate to the /etc folder, and edit the rc.local file. Since the script file is a system file you may need to use the sudo command in order to be allowed to modify it. You may use nano or another text editor of your choice.

cd /etc
sudo nano rc.local

The file (if it exists) may look like the example below.

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.


Make sure that the first line is #!/bin/sh -e and then at the bottom add the full path to the SyncBack Touch executable file, along with the exit 0. Be careful not to modify any existing entries in the script. The final script may look like this:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

/home/testuser/Downloads/SyncBackTouchLinux
exit 0

After you save the file, make sure the rc.local script file has execution permissions.

sudo chmod +x rc.local


Once all is done, reboot the computer and see if you can connect to SyncBack Touch once it has started up.


If you want to stop Ubuntu from starting SyncBack Touch automatically, just edit the rc.local file and remove the line you have added.