Package: endlessh
Version: 1.1-5
Severity: normal

Dear Maintainer,

In `/lib/systemd/system/endlessh.service` there is this comment:

  ## If you want Endlessh to bind on ports < 1024
  ## 1) run:
  ##     setcap 'cap_net_bind_service=+ep' /usr/local/bin/endlessh
  ## 2) uncomment following line
  #AmbientCapabilities=CAP_NET_BIND_SERVICE
  ## 3) comment following line
  PrivateUsers=true

which isn't very helpful, since the README instructs one to do the much 
preferable:

  systemctl enable --now endlessh@222.socket

BTW I started out this bug pointing out that /usr/local/bin is the wrong path,
and suggesting that socket activation would be much preferable, before noticing
that actually, that's already what the README's suggesting.

The comment should probably just be removed, or replaced with something like:

  # to run Endlessh on alternative ports, see: 
/usr/share/doc/endlessh/README.Debian

oh, actually, not quite ... I notice that the endlessh@.socket file appears to
be missing at present, so that would need to be added to the package first.

Cheers, Phil.

Reply via email to