10 lines
235 B
Plaintext
10 lines
235 B
Plaintext
case ${ACTION} in
|
|
post)
|
|
[ ! -d var/log/icecast ] && mkdir -p var/log/icecast
|
|
[ ! -f var/log/icecast/access.log ] && \
|
|
touch var/log/icecast/access.log && \
|
|
touch var/log/icecast/error.log
|
|
chown -R 99:99 var/log/icecast
|
|
;;
|
|
esac
|