Changeset 224


Ignore:
Timestamp:
Sep 18, 2009, 9:41:00 AM (11 years ago)
Author:
lucas
Message:

redmine-proj: avoid warning about non-existing compressed logfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ror-farm/redmine/redmine-proj

    r223 r224  
    193193chmod +x /etc/cron.daily/analog-${nom}
    194194
     195# avoid warning about non-existing compressed logfile, just create an empty one
     196empty_logfile=$vserver_dir/$nom/home/ror/http/log/access.log.1
     197touch $empty_logfile
     198gzip $empty_logfile
     199chown ror:ror $empty_logfile.gz
     200
    195201echo "...done"
Note: See TracChangeset for help on using the changeset viewer.