Changes

From SME Server
Jump to navigationJump to search
1 byte added ,  19:17, 26 January 2023
Line 132: Line 132:  
This is possible but we need to create a new file so we do not overwrite the original - otherwise yum/rpm will complain.
 
This is possible but we need to create a new file so we do not overwrite the original - otherwise yum/rpm will complain.
   −
Something like /etc/mongo/mongod.conf
+
Something like /etc/mongod/mongod.conf
    
Template fragments in  
 
Template fragments in  
   −
  /etc/e-smith/templates/etc/mongo/mongod.conf
+
  /etc/e-smith/templates/etc/mongod/mongod.conf
    
We can then amend the systemd overrride
 
We can then amend the systemd overrride
Line 146: Line 146:  
  [Service]
 
  [Service]
 
  Environment="OPTIONS=-f /etc/mongod/mongod.conf"
 
  Environment="OPTIONS=-f /etc/mongod/mongod.conf"
      
===Dump and restore===
 
===Dump and restore===

Navigation menu