updated path for fail2ban config
This commit is contained in:
		
							parent
							
								
									f81878afd7
								
							
						
					
					
						commit
						c1f90f07c9
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -92,7 +92,7 @@ in { | ||||||
|             enabled = true; |             enabled = true; | ||||||
|             filter = "forgejo"; |             filter = "forgejo"; | ||||||
|             action = ''iptables-multiport[name=HTTP, port="http,https"]''; |             action = ''iptables-multiport[name=HTTP, port="http,https"]''; | ||||||
|             logpath = "${config.services.forgejo.stateDir}/log/*.log"; |             logpath = "${config.services.forgejo.settings.log.ROOT_PATH}/*.log"; | ||||||
|             backend = "auto"; |             backend = "auto"; | ||||||
|             findtime = 600; |             findtime = 600; | ||||||
|             bantime = 600; |             bantime = 600; | ||||||
|  |  | ||||||
|  | @ -77,7 +77,7 @@ in { | ||||||
|             assertion = lib.strings.hasPrefix mountDir folder.path; |             assertion = lib.strings.hasPrefix mountDir folder.path; | ||||||
|             message = "syncthing folder ${folder.label} is stored at ${folder.path} which not under the persisted path of ${mountDir}"; |             message = "syncthing folder ${folder.label} is stored at ${folder.path} which not under the persisted path of ${mountDir}"; | ||||||
|           }) |           }) | ||||||
|           config.services.syncthing.folders; |           config.services.syncthing.settings.folders; | ||||||
|         environment.persistence = { |         environment.persistence = { | ||||||
|           "/persist/system/root" = { |           "/persist/system/root" = { | ||||||
|             enable = true; |             enable = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue