You are not logged in.

#1 2006-11-26 19:07:04

Phase
Member
From: USA
Registered: 2006-11-23
Posts: 23

start on boot

I have two programs I manually installed that I would like to get to run when the computer starts up, can someone help me?

/usr/local/sbin/tinyproxy
and
/usr/sbin/dansguardian


To obtain peace and quiet, get a Phoneless Cord.

Offline

#2 2006-11-26 19:24:26

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: start on boot

Place any commands you want to execute after boot in /etc/rc.local.

However, it seems that dansguardian has its own rc script (/etc/rc.d/dansguardian), thus you should just add dansguardian to DAEMONS section of /etc/rc.conf.

Offline

#3 2006-11-26 19:32:13

Phase
Member
From: USA
Registered: 2006-11-23
Posts: 23

Re: start on boot

Edit #2

Thanks!


To obtain peace and quiet, get a Phoneless Cord.

Offline

#4 2006-11-26 20:25:23

augustob
Member
From: Florianópolis, Brazil
Registered: 2006-03-17
Posts: 135

Re: start on boot

Also, the fact that you have anything in /usr/local/bin shows that either:

1) The package for Tinyproxy is not Arch-compliant
2) You compiled and installed it yourself, by hand

You should really check out the wiki for instructions on how to make PKGBUILDs for software you don't find in the Arch tree and in AUR; that way you can install/uninstall stuff using pacman and guarantee a clean system.

Also, when you make the PKGBUILD, contribute it to the community in the AUR!

Offline

#5 2006-11-26 22:18:55

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: start on boot

I take it you're really interested in the benefits of dansguardian and just need tinyproxy to work with that? If so, I ran dansguardian with privoxy for many months at a cybercafe without problems and there are arch packages for both. I switched from privoxy to squid only after I changed ISPs and got a cheap package with download limits so wanted a lot of caching.

Offline

Board footer

Powered by FluxBB