summarylogtreecommitdiffstats
path: root/splunk.service
diff options
context:
space:
mode:
authorL. Bradley LaBoon2024-02-06 19:52:00 -0500
committerL. Bradley LaBoon2024-02-06 19:52:00 -0500
commit095a97df7ccb3efdb29b1b61de35c4d585c0ac0a (patch)
tree599fcdd5ed872a3c427142c21028fc996578eebd /splunk.service
parenta1280864dc7cab1214b76a581baecf115e96ede1 (diff)
downloadaur-095a97df7ccb3efdb29b1b61de35c4d585c0ac0a.tar.gz
Updated to 9.2.0
Diffstat (limited to 'splunk.service')
-rw-r--r--splunk.service25
1 files changed, 15 insertions, 10 deletions
diff --git a/splunk.service b/splunk.service
index 6c530d8f4849..1f5b10500866 100644
--- a/splunk.service
+++ b/splunk.service
@@ -1,17 +1,22 @@
[Unit]
-Description=Splunk
-Wants=network.target
-After=network.target
+Description=Splunk Enterprise
+After=network-online.target
+Wants=network-online.target
[Service]
-Type=forking
-RemainAfterExit=yes
+Type=simple
+Restart=always
+ExecStart=/opt/splunk/bin/splunk _internal_launch_under_systemd --answer-yes --no-prompt --accept-license
+KillMode=mixed
+KillSignal=SIGINT
+TimeoutStopSec=360
+LimitNOFILE=65536
+LimitRTPRIO=99
+SuccessExitStatus=51 52
+RestartPreventExitStatus=51
+RestartForceExitStatus=52
User=splunk
-ExecStart=/opt/splunk/bin/splunk start --answer-yes --no-prompt --accept-license
-ExecStop=/opt/splunk/bin/splunk stop
-ExecReload=/opt/splunk/bin/splunk restart
-StandardOutput=syslog
-TimeoutSec=500
+Group=splunk
[Install]
WantedBy=multi-user.target