This commit is contained in:
parent
7fef8223a4
commit
72a85f74ab
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ case $1 in
|
||||||
test -n "${SRS_SECRET}"
|
test -n "${SRS_SECRET}"
|
||||||
test -f "${SRS_SECRET}" || dd if=/dev/urandom bs=18 count=1 status=none | base64 > "${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 ::
|
/usr/sbin/postsrsd -e -D -u postsrsd -l ::
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
|
|
Loading…
Reference in a new issue