12 lines
189 B
Text
12 lines
189 B
Text
|
#!/bin/sh
|
||
|
|
||
|
while true
|
||
|
do
|
||
|
# Wait here
|
||
|
inotifywait -qq -e modify /home/eeva/.msmtpqueue
|
||
|
|
||
|
# Send
|
||
|
echo "Queue modified. Calling runqueue…"
|
||
|
/home/eeva/prefix/bin/msmtp-runqueue
|
||
|
done
|