summaryrefslogtreecommitdiff
path: root/src/init-radosgw
diff options
context:
space:
mode:
Diffstat (limited to 'src/init-radosgw')
-rw-r--r--src/init-radosgw8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/init-radosgw b/src/init-radosgw
index de1e01e0018..1468c4bcdfd 100644
--- a/src/init-radosgw
+++ b/src/init-radosgw
@@ -18,19 +18,11 @@ PREFIX='client.radosgw.'
# user to run radosgw as (it not specified in ceph.conf)
DEFAULT_USER='www-data'
-# directory to write logs to
-LOGDIR='/var/log/radosgw'
-
RADOSGW=`which radosgw`
if [ ! -x "$RADOSGW" ]; then
exit 0
fi
-# make sure log dir exists
-if [ ! -d "$LOGDIR" ]; then
- mkdir -p $LOGDIR
-fi
-
case "$1" in
start)
for name in `ceph-conf --list-sections $PREFIX`;