Re: Shouldn't pacman restart dovecot after update?

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



At Dienstag, 3. August 2010 08:00 David C. Rankin wrote:

>         Well sometimes the stupid ones among us don't always catch that 
dovecot is 
> being updated when it is one of 73+ updates that take place. But we 'do' 
always 
> catch the failure to copy to sent -- later :p

If the count of updates is your problem than this idea could be something for 
you:

# cat /etc/cron.daily/pacman.updates 
#!/bin/sh
{
 /usr/bin/pacman -Sy
 echo
 /usr/bin/pacman -Sup
} | /usr/bin/mail -s "$(hostname -s): Arch Updates" YourUser

No question, this is more simple than perfect. -)

See you, Attila



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux