~julian-edwards/maas/packaging-syslog

« back to all changes in this revision

Viewing changes to debian/maas-region-controller.postinst

  • Committer: Julian Edwards
  • Date: 2014-07-29 11:35:17 UTC
  • Revision ID: julian.edwards@canonical.com-20140729113517-6d0k77hc37f5pzsq
convert space indents to use tabs like the rest of the file.  SIGH.

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
        chown -R maas:maas /var/log/maas
196
196
        chmod -R 775 /var/log/maas/oops
197
197
 
198
 
    # Main syslog file.
199
 
    if [ ! -f /var/log/maas/maas.log ]; then
200
 
        touch /var/log/maas/maas.log
201
 
    fi
202
 
    chown syslog:syslog /var/log/maas/maas.log
 
198
        # Main syslog file.
 
199
        if [ ! -f /var/log/maas/maas.log ]; then
 
200
                touch /var/log/maas/maas.log
 
201
        fi
 
202
        chown syslog:syslog /var/log/maas/maas.log
203
203
 
204
204
        # Create log directory base
205
205
        mkdir -p /var/log/maas/rsyslog