Ok, wow...
So do you specify this in the conf file
blocknotify=/home/bitcoin/block.sh %s
and in the block.sh file:
#!/bin/sh
code goes here
not sure if I should use dh or bash and if I should call the .sh file direct or via blocknotify=/bin/sh /home/bitcoin/block.sh %s
How are you doing this?