Let's try this then, echo only first
This commit is contained in:
		
							parent
							
								
									e7baa04455
								
							
						
					
					
						commit
						2ba8c3f126
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -21,10 +21,10 @@
 | 
			
		|||
  systemd.services."external-drive-mount@" = {
 | 
			
		||||
    path = with pkgs; [jq coreutils udisks bash util-linux toybox auto-mount];
 | 
			
		||||
    enable = true;
 | 
			
		||||
    script = "auto-mount add $@";
 | 
			
		||||
    postStop = "echo auto-mount remove $@";
 | 
			
		||||
    scriptArgs = "%i";
 | 
			
		||||
    serviceConfig = {
 | 
			
		||||
      execStart = "echo ${pkgs.auto-mount} add $@";
 | 
			
		||||
      execStop = "echo ${pkgs.auto-mount} remove $@";
 | 
			
		||||
      Type = "oneshot";
 | 
			
		||||
      RemainAfterExit = true;
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue