[Unit] Description=Watch the meeting-transcription queue for new jobs [Path] # incoming/ only ever holds complete jobs: the client uploads into uploading/ and # renames the finished folder across. So "not empty" always means real work, and the # worker emptying the folder is what lets this unit go quiet again. DirectoryNotEmpty=%h/.local/state/meeting-transcribe/incoming MakeDirectory=yes [Install] WantedBy=default.target