I'm happy that strides are being made to conform to the Systemd architecture. I noticed long ago that the automatic boot functions used the /etc/init.d scripts - so I ended up writing my own for RHEL 7 servers. You can use the following as "/etc/systemd/system/SplunkForwarder.service" without having to use Splunk's boot-start at all:
[Unit]
Description=Splunk Universal Forwarder
After=network-online.target rsyslog.service
[Service]
User=splunk
Group=splunk
ExecStart=/opt/splunkforwarder/bin/splunk start
ExecStop=/opt/splunkforwarder/bin/splunk stop
StandardOutput=syslog
Type=oneshot
RemainAfterExit=yes
[Install]
Alias=splunk.service
WantedBy=multi-user.target
WantedBy=graphical.target
... View more