Michel writes: > Hello, > > Is there a way to configure a service to start on the next system reboot with > out having to execute "svcadm enable" nor putting a file in /var/svc/manifest > .
We have an RFE open for a simpler way to do this, but for now you can use the workaround documented there: http://bugs.opensolaris.org/view_bug.do?bug_id=6198442 > I would rather not have to also manage a file in /var/svc/manifest. My under > standing is that the deleting the service at a later date will not only requi > re doing a svccfg delete but will also require deleting the file from /var/sv > c/manifest. I would prefer doing all service management activities using svc > cfg and svcadm and not having to worry about /var/svc/manifest That's OK, there's no requirement that you create a manifest, or if you do, that you locate it under /var/svc/manifest. The procedure to create a service using only svccfg or libscf (and no manifest) are fairly grotty today, but it can be done. Alternatively, you can just "svccfg import <your manifest>" from any location outside of /var/svc/manifest. We just won't take care of importing it automatically for you. If your manifest is packaged, however, and delivers with the "manifest" class, package removal will take care of deleting the service and the file for you. (Today, if pkgrm is done on a live system. After 6438829 is fixed, it'll work for pkgrm -R too.) liane