(big big snip)

talk about not being able to resist :)

I had this service script i've been using forever on my various arch
boxes that does 'service start|restart|status' on /etc/rc.d/foobar.

I've merged in Jurgen's daemons.sh, so this is now much more usefull.

MiniHelp :P
 - Just running 'service' will give you a list of all 'running' services
 - Running service -a, will give you a list of all services (heh!)
 - Running 'service foobar start|restart|status' will do what you expect
:)
  - Add running 'service foobar enable|disable|add|remove' will also do
what you expect.
 - Running 'service -b frumpel foobar add, will add service foobar to
the DAEMONS array before service frumpel

BUG: This doesn't work well with 'background' services... if someone
doesn't beat me to it, i'll extend it to properly support background
services (the @foobar variety i mean)

hehe... nice work Jurgen

Cheers,
Essien


Hey someone should reeeeeeally turn these into some package! It would be
awesome to have such scripts!!! Maybe AUR just for now?

--
Cheers,
     Rodrigo

A computer is like air conditioning: it becomes useless when you open
windows.
                  ~Linus Torvalds
_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch

Reply via email to