Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag 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
Avatar of gheist
gheist
Flag of Belgium image

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

ASKER

but when we install an rpm it also installs an init script for it automatically ?
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial