RE: Adding init.d scripts to RPM

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

 



> > In the spec file, are there any macros or other features 
> that will allow
> > me to put startup scripts in /etc/init.d (or other related 
> directories)?
> > 
> > Thanks,
> > 
> > Joe Laughlin
> 
> Have a close look at 
> 
> http://freshrpms.net/packages/builds/proftpd/proftpd.spec
>
> and see how M. Saou did that for the proftpd standalone ftp server.
The
> init script is one of the source files.


Please also consider whether the LSB approach will work
for you on this: 
http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/sysinit.html

See in particular the section "Installation and removal of init.d files"


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux