friwall/pusher
2023-04-07 14:20:54 +02:00

9 lines
159 B
Bash
Executable file

#!/bin/sh
cd ~/app
(echo ; inotifywait -m --include '[0-9]*\.tar\.gz' -e create ~/config) |
while read ; do
FLASK_APP=web python3 -m flask push
done