diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/init-radosgw | 8 | ||||
-rw-r--r-- | src/init-radosgw.sysv | 8 |
2 files changed, 0 insertions, 16 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`; diff --git a/src/init-radosgw.sysv b/src/init-radosgw.sysv index 017e3f9bc07..cba99aff18f 100644 --- a/src/init-radosgw.sysv +++ b/src/init-radosgw.sysv @@ -20,19 +20,11 @@ PREFIX='client.radosgw.' #DEFAULT_USER='www-data' DEFAULT_USER='apache' -# 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) echo "Starting radosgw instance(s)..." |