[ale] apcupsd

James Sumners james.sumners at gmail.com
Mon Oct 15 14:23:48 EDT 2007


In SuSE, I would recommend using Yast to enable your script. There is
a "Runlevel Editor" in Yast that will make things much easier --
http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch13s04.html
. (Note: the bottom of that page mentions an "insserv" tool that could
be used instead of Yast's GUI.)

On 10/15/07, Ashley Wilson <awilson at smartfurniture.com> wrote:
> I usually write a short init script in rc.d and link it to start in the
> appropriate rc#.d directory.  Here's one for tomcat that I mangle to suit my
> needs:
> http://www.akadia.com/download/soug/tomcat/html/tomcat_startscript.html
>
>
> linked thusly:
>
> ln -s /etc/init.d/tomcat /etc/init.d/rc0.d/K91tomcat
> ln -s /etc/init.d/tomcat /etc/init.d/rc1.d/K91tomcat
> ln -s /etc/init.d/tomcat /etc/init.d/rc2.d/S91tomcat
> ln -s /etc/init.d/tomcat /etc/init.d/rc3.d/S91tomcat
> ln -s /etc/init.d/tomcat /etc/init.d/rc4.d/S91tomcat
> ln -s /etc/init.d/tomcat /etc/init.d/rc5.d/S91tomcat
> ln -s /etc/init.d/tomcat /etc/init.d/rc6.d/K91tomcat
>
> you may have to alter the paths, this is from Suse.
>
> Granted, this may not be the best way to do things, but it works for me :)
>
>
> -----Original Message-----
> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Paul
> Cartwright
> Sent: Monday, October 15, 2007 11:58 AM
> To: Atlanta Linux Enthusiasts
> Subject: [ale] apcupsd
>
> I'm having some ( more ) problems trying to figure out how to add services
> in
> this Debian system..
> the Services menu from System only shows 9 services-anacron,
> atd,cron,klogd,sysklogd,gdm,kdm,cupsys, and apaches2.
>
> I would like to add a few services to start up automatically:
> firestarter, ntpdate, apcupsd.. but I can't find a way to add them.
> every time I reboot, my clock goes off by 3 hours, and apcupsd doesn't
> restart.
>
> --
> Paul Cartwright
> Registered Linux user # 367800
> Registered Ubuntu User #12459
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>


-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59



More information about the Ale mailing list