Let's not ensure the db?
This commit is contained in:
		
							parent
							
								
									da218ccbb5
								
							
						
					
					
						commit
						93511212d0
					
				
					 1 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -73,13 +73,13 @@
 | 
			
		|||
    #Directory for the database is /var/lib/mysql
 | 
			
		||||
 | 
			
		||||
    # Ensure the database, user, and permissions always exist
 | 
			
		||||
    ensureDatabases = ["NC"];
 | 
			
		||||
    ensureUsers = [
 | 
			
		||||
      {
 | 
			
		||||
        name = "nextcloud";
 | 
			
		||||
        ensurePermissions."DATABASE NC" = "ALL PRIVILEGES";
 | 
			
		||||
      }
 | 
			
		||||
    ];
 | 
			
		||||
    # ensureDatabases = ["NC"];
 | 
			
		||||
    # ensureUsers = [
 | 
			
		||||
    #   {
 | 
			
		||||
    #     name = "nextcloud";
 | 
			
		||||
    #     ensurePermissions."DATABASE NC" = "ALL PRIVILEGES";
 | 
			
		||||
    #   }
 | 
			
		||||
    # ];
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  systemd.services."nextcloud-setup" = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue