On Mon, Mar 02, 2026 at 09:25:55AM +0500, vort3 wrote:
On Fri, 27 Feb 2026 19:50:06 +0900 gg@tilde.club wrote:
About 2 months ago, I had setup a user-level systemd service in ~gg/.config/systemd/user/archive-watch.service and it had worked fine until yesterday when it suddenly stopped. When I noticed something was wrong, I logged in to try to restart the service, I received this error:
If you don't mind sharing, what does this service do?
The service runs this script: https://git.vern.cc/gg/WeatherNews.jl/src/branch/main/bin/archive-watch.sh which in turn runs this script: https://git.vern.cc/gg/WeatherNews.jl/src/branch/main/bin/archive-process.pl
It watches a directory for small JSON files that are written to it periodically through the day via various cron jobs. The data in those JSON files is used to update a small SQLite database. It does work about 2 or 3 times an hour, and it's idle the rest of the time. It's fairly light on resources.