Commit graph

20 commits

Author SHA1 Message Date
evan eb374379d1 update readme to working non-https url 2024-10-12 23:34:21 -05:00
Jonas Große Sundrup 530d70a2d6
re-arrange for better maintainability 2023-12-30 00:05:50 +01:00
Jonas Große Sundrup 71114492ed
add log-line for systemd-socet-activation 2023-12-29 23:35:26 +01:00
Jonas Große Sundrup 4a880b781d
factor out restart-logic 2023-12-29 23:33:47 +01:00
Jonas Große Sundrup ba1798ce46
if socket-activated, exit after printing 2023-12-29 22:09:22 +01:00
Jonas Große Sundrup 1edb189aba
implement socket-activation and manual activation besides each other 2023-12-29 21:51:34 +01:00
Jonas Große Sundrup 119b33f538
implement writing general content file 2023-12-29 21:34:04 +01:00
Kevin Smith 0bbf326172 Add metadata for v3 software 2023-01-05 21:06:32 -06:00
evan 6df7276abf restart remux, tarnish, draft 2022-05-21 17:44:16 -05:00
Gavin McCullagh 2da4b179ae add an additional .content file, see issue #23 2021-03-21 07:56:49 +00:00
evan 52f31746ab switch to is-active 2021-03-14 17:51:13 -05:00
evan b5d8cd582f clean up debug function 2021-03-12 23:24:12 -06:00
evan 7e50dbb48f only restart xochitl if service enabled 2021-03-12 23:21:23 -06: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 8bc1a5b622 fix issue #11, support %%EOF w/out newline 2020-12-20 22:54:08 -06:00
evan 1c26f7be06 download deps before build 2020-07-12 18:26:11 -05:00
evan 38570354d0 fix go get command 2020-07-12 18:26:11 -05:00
beardhatcode 66fd0706fc Fix timestamp
The timestamp is in miliseconds, not seconds, add three zeros' to ensure
correct ordering.

Before the metadata contained:

  "lastModified": "1583919213",

now it contains:

    "lastModified": "1583919213000",

found this out by looking at

  cat /home/root/.local/share/remarkable/xochitl/*.metadata | grep lastModified
2020-03-11 10:34:31 +01:00
evan 2b975d5951 simplify config install 2020-03-11 02:45:44 -05:00
evan 4747014eae init commit 2020-03-11 01:36:18 -05:00