mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
server: Use "normal" socket activation, not inetd
Systemd, when doing socket activation, pass file descriptors in a non-stable order when there is multiples ones. But we only use one, so we don't need to identify it, and the file descriptors always start at 3. So use 3 for the systemd service. Source : sd_listen_fds (systemd man pages) We also need to unset variables systemd pass to socket activated process, since we don't need them and sub-process (footclient and theirs forks) could be confused by those. Closes #1107
This commit is contained in:
parent
c0a7c7bf0d
commit
ffdac61e2a
2 changed files with 5 additions and 2 deletions
|
|
@ -104,6 +104,8 @@
|
|||
* Selection not being cancelled correctly when scrolled out.
|
||||
* Extending a multi-page selection behaving inconsistently.
|
||||
* Poor performance when making very large selections ([#1114][1114]).
|
||||
* Bogus error message when using systemd socket activation for server
|
||||
mode ([#1107][1107])
|
||||
|
||||
[1055]: https://codeberg.org/dnkl/foot/issues/1055
|
||||
[1092]: https://codeberg.org/dnkl/foot/issues/1092
|
||||
|
|
@ -111,6 +113,7 @@
|
|||
[1111]: https://codeberg.org/dnkl/foot/issues/1111
|
||||
[1120]: https://codeberg.org/dnkl/foot/issues/1120
|
||||
[1114]: https://codeberg.org/dnkl/foot/issues/1114
|
||||
[1107]: https://codeberg.org/dnkl/foot/issues/1107
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue