[Debian] systemd service not found

$ sudo apt install syncthing
# [......]
Preparing to unpack .../syncthing_1.19.2~ds1-1+b4_amd64.deb ...
Unpacking syncthing (1.19.2~ds1-1+b4) ...
Setting up syncthing (1.19.2~ds1-1+b4) ...


Created symlink /etc/systemd/system/sleep.target.wants/syncthing-resume.service → /lib/systemd/system/syncthing-resume.service.


$ sudo systemctl status syncthing
Unit syncthing.service could not be found.

What the fucking WFT? And why is it syncthing-resume.service?

  1. You’ve installed Debian’s version of syncthing. This version of syncthing (including its systemd services) is not maintained by syncthing, so any problems will need to be directed to Debian’s team.
  2. Syncthing’s official debian package also doesn’t ship a service named syncthing. Rather, it uses a service parametrized by the user it should run as, like syncthing@myuser. (This means the service file name is syncthing@)

Syncthing doesn’t ship such a service, the Debian folks may know more.

PS: Ah, actually syncthing used to ship such a service, but doesn’t anymore. The old debian package just still has it. I forgot. I think the old -resume service killed/restarted syncthing when the system woke up from sleep.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.