[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

install service from rpm



Hi,

I'm trying to install RedHat /etc/init.d/ service from RPM. 
I tried doing cp myservice /etc/init.d/ on install and rm
/etc/init.d/myservice on uninstall. This works for
installs and uninstalls, but fails for upgrade, because the file first gets
installed and then gets removed.
What's the right way of doing this?
Thanks!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []