How to create a custom SMF service that runs a script and exits immediately
Last updated on AUGUST 01, 2016
Applies to:Solaris Operating System - Version 10 3/05 and later
Information in this document applies to any platform.
The desire is to have a custom SMF service which runs a script and returns immediately similar to a legacy init script (with no processes remaining)
The problem is that by the service start method completes and as there are no processes remaining SMF considers the service to have failed and so restarts it as by default SMF expects processes to remain within the contract.
This continues until SMF considers that there is a problem with the service and so puts it in maintenance state.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms