mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 04:46:15 +01:00 
			
		
		
		
	Use RedHat-recommended /var/lib/rpm-state/mariadb/ for restart flag. This also fixes SUSE where /var/lib/rpm-state doesn't necessarily exist.
		
			
				
	
	
		
			3 lines
		
	
	
	
		
			81 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
	
		
			81 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
# request the server restart
 | 
						|
mkdir -p %{restart_flag_dir}
 | 
						|
echo > %{restart_flag}
 |