Rename lock file
This commit is contained in:
parent
44ba526405
commit
23666cf899
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
output_owner=fruchti:data
|
output_owner=fruchti:data
|
||||||
lockfile=/flags/mp3-transcode-lock
|
lockfile=/tmp/music-transcode.lock
|
||||||
|
|
||||||
if [ -f "$lockfile" ] ; then
|
if [ -f "$lockfile" ] ; then
|
||||||
echo "Another instance is already running. Exiting."
|
echo "Another instance is already running. Exiting."
|
||||||
|
|
Loading…
Reference in a new issue