kb

Centos 7 | Create Linux service task manually

Create following file with similar content.

Change the description and point to the correct Exec Start.

/etc/systemd/system/splunk-server.service

[Unit]

Description=SPLUNK Server

[Service]

Type=forking

ExecStart=/opt/splunk/bin/splunk start

RemainAfterExit=yes

[Install]

WantedBy=multi-user.target