All Apps and Add-ons

Init scripts for starting/stopping Splunk in Solaris

t097101
New Member

Do you have any readily available scripts that I can use?

Tags (1)
0 Karma

pde
Path Finder

gkanapathy
Splunk Employee
Splunk Employee

As a standard service, you can simply execute:

$SPLUNK_HOME/bin/splunk enable boot-start

as the root user and Splunk will generate an appropriate script into /etc/init.d/ and link it to all the right /etc/rc locations. You can add a -user username option to generate the script to run as a non-root user.

0 Karma

hexx
Splunk Employee
Splunk Employee

Do you intend to have Splunk managed as an SMF (with a manifest and so on) or as a legacy service (with a startup script in /etc/init.d)?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...