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

Install a `service'



Pretty sure I recall being able to put an init script in
/etc/rc.d/init.d  and then that script would be seen by such tools as
chkconfig  setup  ntsysv would see it and be be able to setup the
symlink.

That doesn't seem to work for me now.

I've built a cvs source for spamassassin, and installed an init
script -  /etc/rc.d/init.d/spamassassin

  ls -l /etc/rc.d/init.d/spamassassin
-rwxr-xr-x 1 root root 1220 Sep 10 00:22 /etc/rc.d/init.d/spamassassin

This script actually works when called with 
  service spamassassin status/start/restart etc

But isn't seen by the above mentioned tools.

The online manual for 8 has two sections that look promising
  sysv init
  init runlevels

Neither tells how to intall a `service' script so it will be
recognized.





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