Ok, let’s try a fully worked-out example of a very ‘minimalist’ example, and 
see if we can scale up from there.

The default ‘/etc/rd.conf’ shipped with Rivendell 3.4.1 has an ‘[Identity]’ 
section that looks like this:

*** snip snip ***
[Identity]
AudioOwner=rivendell
AudioGroup=rivendell

PypadOwner=pypad
PypadGroup=pypad

RnRmlOwner=rivendell
RnRmlGroup=rivendell
*** snip snip ***

That’s designed to replicate a 2.x setup (Principle of Least Astonishment), but 
for this exercise let’s change the user for RN so it’s same one that’s running 
the base Rivendell modules:

*** snip snip ***
[Identity]
AudioOwner=rivendell
AudioGroup=rivendell

PypadOwner=pypad
PypadGroup=pypad

RnRmlOwner=rd
RnRmlGroup=rd
*** snip snip ***

We’ve changed ‘rd.conf’, so restart the ‘rivendell’ service to pick up the 
changes. As ‘root’:

        systemctl restart rivendell

Now, start up a ‘Terminal’, and do:

        ls -l /home/rd/here

You should get: 'ls: cannot access /home/rd/here: No such file or directory’.

Now, fire up ‘RMLSend’, from the Applications->Rivendell->Utilities menu. In 
the ‘Sent To:’ field enter ‘localhost’, and in the ‘Command:’ field enter ‘RN 
touch /home/rd/here!’. Touch the ‘Send Command’ button.

Now, go back to the terminal and repeat:

        ls -l /home/rd/here

Now, you should get back something like: '-rw-r--r--. 1 rd rd 0 Oct 24 09:26 
/home/rd/here’. 

You’ve just created an empty file called ‘here’, in the ‘/home/rd’ directory. A 
very basic starting point, but it will let us establish that the fundamental 
system in Rivendell is working. Once we have that, we can start working to 
determine why your specific scripts won’t run.

Cheers!


|---------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |             Chief Developer             |
|                           |             Paravel Systems             |
|---------------------------------------------------------------------|
|         A room without books is like a body without a soul.         |
|                                                                     |
|                                                         -- Cicero   |
|---------------------------------------------------------------------|


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

Reply via email to