Re: Log File Maintainance

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

 



A followup, there was a type in my last post, shoulda been:

su - postgres -c 'pg_ctl start | /usr/sbin/rotatelogs $PGDATA/logs/pgsql
86400 2>&1 &'

Note that change in the 2>&1...


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux