blob: 821b29219cefc18379126c12cc94d7643ce4fed1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[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
|