Browse Source

need to be able to read config earlier

Kenneth Giusti 3 years ago
parent
commit
75278c1ebf
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      devstack/plugin.sh

+ 3
- 3
devstack/plugin.sh View File

@@ -80,6 +80,9 @@ function _configure_qpid {
80 80
         exit_distro_not_supported "qpidd.conf file not found!"
81 81
     fi
82 82
 
83
+    # ensure that the qpidd service can read its config
84
+    sudo chmod o+r $qpid_conf_file
85
+
83 86
     # force the ACL file to a known location
84 87
     local qpid_acl_file=/etc/qpid/qpidd.acl
85 88
     if [ ! -e $qpid_acl_file ]; then
@@ -136,9 +139,6 @@ queue-patterns=unicast
136 139
 topic-patterns=broadcast
137 140
 EOF
138 141
     fi
139
-
140
-    # ensure that the qpidd service can read its config
141
-    sudo chmod o+r $qpid_conf_file
142 142
 }
143 143
 
144 144
 

Loading…
Cancel
Save