How to remove syncthing-inotify?

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
User avatar
Sciamano
Posts: 264
Joined: Sat Oct 15, 2016 12:18 pm
Location: Italy

How to remove syncthing-inotify?

Post by Sciamano »

Hello,
now that inotify is included in the main syncthing binary, how can those who have it installed (by using a previous version of DietPi) uninstall it without harm?
Will a simple apt-get remove syncthing-inotify work or do we risk any damage to our installation?
Thanks
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: How to remove syncthing-inotify?

Post by johnvick »

Disable the service:

# systemctl stop syncthing.inotify.service (your service may be named slightly differently)
# systemctl disable syncthing.inotify.service

Then remove the syncthing.inotify file from /usr/bin
And the systemd file from /etc/systemd/system

Did you know that you now have to enable its functionality on a per folder basis through the syncthing menus?

John
User avatar
Sciamano
Posts: 264
Joined: Sat Oct 15, 2016 12:18 pm
Location: Italy

Re: How to remove syncthing-inotify?

Post by Sciamano »

Hi John,
thanks for the instructions.
No, I didn't know it had to be enabled on a per-folder basis now, thanks for the heads up!
Is this done via the GUI?
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: How to remove syncthing-inotify?

Post by johnvick »

Yes it is - in the advanced section - fs watcher.

Another thing to do is to take out the reference to inotify in the syncthing systemd file.

John
User avatar
Sciamano
Posts: 264
Joined: Sat Oct 15, 2016 12:18 pm
Location: Italy

Re: How to remove syncthing-inotify?

Post by Sciamano »

Thanks. Everything done. Hope it works :D
I had no references to syncthing-inotify in my systemd syncthing.service file, though.
Post Reply