My Oracle Support Banner

How to create a custom SMF service that runs a script and exits immediately (Doc ID 1619315.1)

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.

Goal

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.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.