On 3/21/21 11:08 PM, Ed Greshko wrote:
So, does your backup process work when called from crontab entry?
Yes, it does, and that's part of what confused me. However -- and this
is rather embarrassing -- the real problem was a missing environment
variable in the script when the process was run as a systemd unit. I
thought the log entry "systemd-inhibit[19767]: read: Connection reset by
peer" was some sort of dbus problem reported by systemd-inhibit, but
that text is really stderr from the script.
All sorted out and working as expected now.