The shell script needs to be in /usr/bin/ and chmod 775 chown rivendell:rivendell

From memory RDAIRPLAY is owned and operated by rivendell not rd or at least the 'who's on macro' bit does.

regards

Robert


On 20/04/20 2:58 am, Chester Graham wrote:
I have a script (Insert_Station_Legal_ID.sh) that works from the command line. File is stored at /home/rd with permission 777 and executable.
----------------------------------
#!/bin/bash
rmlsend LB\ "Inserted Legal ID\!
rmlsend PX\ 001001\ play\!
sleep 10
rmlsend LB\ \!
----------------------------------


If I try to trigger it as a macro from a log it doesn't work.
-----------------------------------------
001 SP 1000!
002 RN /home/rd/Insert_Station_Legal_ID.sh!
003 SP 1000!
----------------------------------------
I am running on centos 7 3.3.0 fully patched as user rd.
rd.conf has AudioOwner and AudioGroup = rivendell, PaypadOwner and group=pypad, and RnRmlOwner and Group = rd

What am I missing to make this work?
Chester
WGTT


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

--
Communication Consultants 2020 Limited
64 Warner Park Avenue
Laingholm
Auckland 0604
New Zealand

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to