[CentOS] doing something before everything else

Sat Jul 22 16:25:17 UTC 2017
Alexander Dalloz <ad+lists at uni-x.org>

Am 22.07.2017 um 17:30 schrieb Andrew Holway:
> Ok, great I have an rc-local working but now I have a problem that Jenkins
> is starting up before / during the rc-local is running.
> 
> Jenkins is shipping with an init script. I want to put a
> "Before=jenkins.service" in rc-local but Jenkins doesnt have a service
> file....
> 
> How can I ensure that rc-local is running before the Jenkins init?
> 
> Thanks,
> 
> Andrew

Andrew,

please stop top-posting and not stripping quotes.

What exactly do you intend to achieve regarding the start of Jenkins on 
your CentOS 7 system?

While I am really surprised that the Jenkins team hasn't made their 
Jenkins RPM packages systemd aware but still providing a sysv init 
script, you probably try to do something which should be solved in a 
different way.

Alexander