12 lines
		
	
	
		
			208 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			208 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
chgrp syslog /var/logs
 | 
						|
chmod g+w /var/logs
 | 
						|
 | 
						|
# for some reason the pidfile was sticking around and preventing startup
 | 
						|
RP="$(cat /run/rsyslogd.pid)"
 | 
						|
kill $RP
 | 
						|
rm /run/rsyslogd.pid
 | 
						|
 | 
						|
exec rsyslogd -n
 |