fetchmail pri startu

Ladislav Vaiz spam na new.nagano.cz
Středa Červen 29 10:12:14 CEST 2005


> Zdravim.
> Asi jsem uplne natvrdlej nebo co. Do /etc/rc.d/rc.inet2 jsem si pridal
> start fetchmailu, aby se mi spoustel pri startu systemu a nemusel ho
> spustet rucne.
> Radky jsou nasledujici:
>
> if [ -x /usr/bin/fetchmail ]; then
> 	echo "starting fetchmail daemon"
> 	/usr/bin/fetchmail -d 300 --syslog
> fi


Problemy, ktere me napadaji:
1) fetchmail se spusti pro roota
2) konfiguraci cte z promenne prostredi HOME, ktera bude bude nedefinovana 
nebo bude /

zkusil bych su - -c 'fetchmail -d 300 --syslog' uzivatel


La'd"a


Další informace o konferenci Linux