summaryrefslogtreecommitdiff
path: root/scripts
diff options
authorbilly.olsen@canonical.com <>2016-05-05 10:08:05 -0700
committerbilly.olsen@canonical.com <>2016-05-05 10:08:05 -0700
commita71bc020ec12f543e8aaa0671c16c9b96e0ae7ca (patch)
tree1118938cb5c3323894bf8d36b2b73acdcb6028be /scripts
parent87079a1babd0143bba4f5a5eca60470399061e89 (diff)
Move parameter logic from altering init conf file to the /etc/mongodb.conf
file. The mongdob service is already configured to read parameters from the /etc/mongodb.conf file and moving the configuration options inside the config file allows the systemd style service to start properly. Also, as of MongoDB 2.6, the specification of master/slave flags on startup is not allowed to be specified with the replicaset flags. This change allows for the master/slave flag to be specified in the /etc/mongodb.conf file only when the replica-set (peer) relation has not been established. Closes-Bug: #1513094
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions