pkgbuilds/splunk/splunk.service

18 lines
359 B
SYSTEMD
Raw Normal View History

2023-08-30 19:27:59 -06:00
[Unit]
Description=Splunk
Wants=network.target
After=network.target
[Service]
Type=forking
RemainAfterExit=yes
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
[Install]
WantedBy=multi-user.target