- UPD: name on live map can be overriden by 'name' in JSON payload
- NEW: decrypted payloads have "_decrypted":true added to .rec file (#151)
- NEW: new configuration variable OTR_BROWSERAPIKEY (#146)
- FIX: Maps browser API key file (apikey.js) is now served by the Recorder (#146)
- FIX: add CFLAGS for base64 to conver Arch (#128)
- FIX: if defaults file can't be read, log an error (#131)
- NEW: otr_publish() from Lua reuses Recorder's authenticated, TLS-enabled MQTT connection (#140)
- UPD: changed systemd unit file (#137)
- UPD: README restructured (#138)
- NEW: ocat -v and api/0/version now show git version/commit
- FIX: Debian package dependency on libsodium13
This isn't really a great place for these, and they're not very complete
anyway. Better to put this in the proper docs, where it'll be obvious
and complete.
Add the standard OwnTracks MQTT topic as the first argument to
`ot-recorder` in the service file. This provides a usable experience out
of the box (otherwise the service file will fail with a help message).
If the user is on systemd it's reasonable to assume that they are also
using journald. This is the default on most (all?) systemd systems and
any admin who configures their system to send things to syslog instead
of journald can deal with one more thing that needs to be
changed.
Therefore, optimize for the majority and send logs to the default
journald. Additionally, don't send stdout to /dev/null because this
isn't the norm with systemd; stdout can provide valuable debugging
information; and journald provides facilities for filtering out stdout
in log output.
This isn't the normal way that systemd service files are written, and
lots of admins will probably be surprised to find that this is
happening. Therefore, remove it from the default configuration.
This is especially relevant given that the default ExecStart command
produces a help message, which causes systemd to mark the unit as
failed. This causes an infinite restart loop on default installs.
Most users will be using `sudo` and an unprivileged account anyway, and
the `>` shell operator doesn't work in this scenario. So, optimize for
the majority and give commands that can be blindly copied and
pasted. Running things directly as root isn't a great idea anyway.