12 lines
206 B
Bash
12 lines
206 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -f '/tmp/auto-encode' ]; then
|
||
|
exit 1
|
||
|
fi
|
||
|
touch /tmp/auto-encode
|
||
|
|
||
|
fd .vpy$ /home/sftp/kaleido/auto-encode/queue --exec /home/kageru/auto-encode/encode.sh {}
|
||
|
|
||
|
rm -f /tmp/auto-encode
|
||
|
exit 0
|