I’d like to move the Syncthing binary on my Ubuntu 20.04 install to a place where the user has permissions to auto-update. I intend to move it to /var/www/bin (because it’s being run by www-data).
Do I just move the binary, or do I also need to create a symlink in the /usr/bin directory?
mv /usr/bin/syncthing /var/www/bin/
ln -s /var/www/bin/syncthing /usr/bin/
Edit: A couple of extra qs.
Do I need to modify any config?
I run Syncthing as a service: systemctl enable www-data@Syncthing.service. Do I need to alter this service?
1 post - 1 participant