0

I have installed syncthing on my Raspberry Pi but it does not start automatically.
How can I run it automatically after a reboot?

1 Answer 1

0

The folder /usr/share/applications contains shortcuts to all installed programs.
All shortcuts which are copied to the folder /home/pi/.config/autostart will be started automatically after a reboot.

The following command copies the needed shortcut to the autostart folder:

cp /usr/share/applications/syncthing-start.desktop /home/pi/.config/autostart

Hint: In my case I use the standard user pi. If you use a different user name then you have to adopt it to /home/different-username

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.