Maybe this will work?
This commit is contained in:
		
							parent
							
								
									6b0155a6b4
								
							
						
					
					
						commit
						5df487f073
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -21,8 +21,8 @@
 | 
			
		|||
    serviceConfig = {
 | 
			
		||||
      Type = "oneshot";
 | 
			
		||||
      RemainAfterExit = true;
 | 
			
		||||
      ExecStart = "${pkgs.auto-mount} add %i";
 | 
			
		||||
      ExecStop = "${pkgs.auto-mount} remove %i";
 | 
			
		||||
      script = "auto-mount add %i";
 | 
			
		||||
      preStop = "auto-mount remove %i";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue