Commit graph

5 commits

Author SHA1 Message Date
Jonas Große Sundrup 1edb189aba
implement socket-activation and manual activation besides each other 2023-12-29 21:51:34 +01:00
evan 96ef3a5469 stop printer service before installing 2021-03-28 18:43:12 -05:00
Jonas Große Sundrup d1fe37662a
socket-activate printer
Previous to this commit, the printer needs to continuously run in the
background, even if it doesn't do much most of the time, to keep the
socket open and handle incoming connections. This commit hands over
handling the open socket to systemd and the printer-code gets started by
systemd only when there is something incoming on the socket. The printer
itself then takes over the socket from systemd, handles the incoming
data and exits afterwards, returning socket management to systemd again.

This reduces running processes as well as the memory footprint of the
running system.
2020-12-29 14:30:30 +01:00
evan 498449f3d4 update install script 2020-12-18 01:27:32 -06:00
evan 04c54aa936 add install script 2020-12-18 01:02:08 -06:00