12 lines
206 B
Bash
Executable File
12 lines
206 B
Bash
Executable File
#!/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
|