diff --git a/postsrsd.sh b/postsrsd.sh index 35f4a49..006d87b 100755 --- a/postsrsd.sh +++ b/postsrsd.sh @@ -9,7 +9,7 @@ case $1 in test -n "${SRS_SECRET}" test -f "${SRS_SECRET}" || dd if=/dev/urandom bs=18 count=1 status=none | base64 > "${SRS_SECRET}" - install -dm 750 -o postsrsd -g postsrsd "${SRS_PID_FILE%/.*}" + install -dm 750 -o postsrsd -g postsrsd "${SRS_PID_FILE%/*}" /usr/sbin/postsrsd -e -D -u postsrsd -l :: ;; stop)