-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 and I almost forgot. I don't want to modify the init script that came with the cron package. It has to be an external script that gets executed prior to resource start and after the resource is started.
On 03/17/2012 01:06 PM, Charles Williams wrote: > Hey all, > > I have been looking all over for a way to do this and have yet to find > anything. > > I have a symlink resource that links an nfs share to /var/spool/cron > (/var/spool/cron -> /mnt/imports/nvwh2.bluedotmedia.de/var/spool/cron) > and I need to be able to check if /var/spool/cron exists and if so if > it's a symlink prior to starting the resource. If it's an actual > directory I will need to delete it, start the resource and restart cron. > If not then cron will not be able to access the spool directory because > the inode has changed. > > I have been looking at the dummy resource to maybe be able to do this > but am not sure if it will work. > > Does anyone have an idea how this could be accomplished? > > Thanks, > chuck _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9kfsoACgkQIUUjp07y+ZYPiQCfTXKHwRFbv4R6lq0KiRXjoQ1i XIcAn3T/niC2/G0l8OQHUO7PXPOi/FLR =1/OT -----END PGP SIGNATURE----- _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
