blob: 41d43b6f75f350852c96b21070fee5ee31e7cfe9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description=Splunk Forwarder
Wants=network.target
After=network.target
[Service]
Type=forking
RemainAfterExit=yes
User=splunk
ExecStart=/opt/splunkforwarder/bin/splunk start --answer-yes --no-prompt --accept-license
ExecStop=/opt/splunkforwarder/bin/splunk stop
ExecReload=/opt/splunkforwarder/bin/splunk restart
StandardOutput=syslog
[Install]
WantedBy=multi-user.target
|