Jordan Brown wrote: > Bart Smaalders wrote: >> # pkgsend -s http://localhost:12000 add file >> /usr/ra201468/durba_SMF/cron_remove.xml mode=0755 owner=root group=bin >> path=/var/svc/manifest/application/cronremove.xml >> restart_fmri=svc:/system/manifest-import:default > > I'm confused. On its face, this would appear to be deleted on package > removal, which would presumably preclude it being used to clean up the > cron entries as desired. What am I missing? >
What this does is cause the service to be imported into SMF on installation or change. If you want something to happen when the service is removed, set disable_fmri=... as well so that when this file is installed, the service is disabled. The disable method should then uninstall the cron job. - Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
