run: drop to autobuild-ceph user before doing anything much
authorDan Mick <dan.mick@redhat.com>
Sat, 16 Jan 2016 05:21:29 +0000 (21:21 -0800)
committerDan Mick <dan.mick@redhat.com>
Sat, 16 Jan 2016 05:21:29 +0000 (21:21 -0800)
commit9864199effb1c74c281a18448331de9dbce78296
treefa37ba97a3f86404a89fbe7cf31264bae13b36be
parentb763a0cf69151d71e865cbb447ceb1578eece4fe
run: drop to autobuild-ceph user before doing anything much

logrotate has changed such that, if root, it won't run if
logrotate.conf is not owned by root.  Since we really want to be
running as autobuild-ceph anyway, just do that first by reexecuting
ourselves with su - autobuild-ceph.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
run