friwall/pusher

9 lines
159 B
Plaintext
Raw Permalink Normal View History

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