Closed simon1tan closed 3 years ago
you can try it manually, chroot in the shell and try to run the scripts. Failures can be easy with chroot, it is usually because the runtime environment is not set up fully. eg, is the shell available in the jail?
chroot /mnt/data/src/icecast-kh-icecast-2.4.0-kh15/test /on-connect.sh
karl.
thanks, I got it working
With my config like this:
...
both scripts are able to output a test file successfully. When I turn on chroot and use sudo to start icecast, I cannot get the scripts to run. Tried:
...
I expect it to chroot into /mnt/data/src/icecast-kh-icecast-2.4.0-kh15/test where the scripts are located and be able to execute them. Files belong to user and executable. Any thoughts/advice?