add $USER to pid path

This commit is contained in:
j 2014-08-17 18:11:19 +02:00
parent b26a22de5d
commit a04270a05c
1 changed files with 1 additions and 1 deletions

2
ctl
View File

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