Amanda-Users

Wrapping amandad.exe on Cygwin

2003-03-06 13:00:46
Subject: Wrapping amandad.exe on Cygwin
From: Richard Morse <remorse AT partners DOT org>
To: amanda-users AT amanda DOT org
Date: Thu, 6 Mar 2003 11:29:08 -0500
Hi! I'd like to write a wrapper script for amandad.exe on Cygwin. I want to make sure that all the log files are made readable by the group once amandad is finished. My issue is that I don't quite know how to ensure that amandad gets passed all the proper parameters.

Would the following work if placed in inetd.conf in place of amandad.exe?

-----------------------------------------
#!/bin/sh

# call amanda
/usr/local/amanda/libexec/amandad.exe $@

cd /tmp/amanda
chmod g+r *
------------------------------------------

Thanks,
Ricky


<Prev in Thread] Current Thread [Next in Thread>
  • Wrapping amandad.exe on Cygwin, Richard Morse <=