Avatar of Rohit Bajaj
Rohit Bajaj
Flag for India asked on

Is init file for an application part of rpm

HI,
I saw that an rpm spec contains predeployment and post scripts. But couldnt locate the initscript corresponding to it.
Is not init file for an application part of rpm package ? where is it located ?

Thanks
LinuxLinux OS Dev

Avatar of undefined
Last Comment
gheist

8/22/2022 - Mon
gheist

It is just file in /etc/init.d
In general you dont need RPM pre/post scripts.
Rohit Bajaj

ASKER
but when we install an rpm it also installs an init script for it automatically ?
ASKER CERTIFIED SOLUTION
gheist

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61