Mount/Unmount Network Drive Before/After Logrotate Archive
I've got logrotate setup to copy the most recently rotated log file to a network share. Any ideas on how I can mount/unmount a share immediately before/after the archiving takes place? Reason I'm asking is that I don't want the network share mounted, except during the archive process.
Thanx in advance for your help . . .
|