add $USER to pid path

This commit is contained in:
j 2014-08-17 18:11:19 +02:00
parent b26a22de5d
commit a04270a05c

2
ctl
View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
HOST="[::1]:9842" HOST="[::1]:9842"
NAME="openmedialibrary" NAME="openmedialibrary"
PID="/tmp/$NAME.pid" PID="/tmp/$NAME.$USER.pid"
cd "`dirname "$0"`" cd "`dirname "$0"`"
if [ -e oml ]; then if [ -e oml ]; then