You need to pass the entire script with variables in a quoted parameter like this:
multichaind chain_name -walletnotify="/home/script.sh %m"
Alternatively add a line like this in multichain.conf then stop and restart MultiChain:
walletnotify=/home/script.sh %m