弃用 pm2, 使用 systemctl 管理进程
This commit is contained in:
		
							
								
								
									
										12
									
								
								webp.logrotate
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								webp.logrotate
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
# WEBP SERVER
 | 
			
		||||
/root/webp/webp.log {
 | 
			
		||||
    daily
 | 
			
		||||
    rotate 7
 | 
			
		||||
    compress
 | 
			
		||||
    missingok
 | 
			
		||||
    notifempty
 | 
			
		||||
    create 0640 root adm
 | 
			
		||||
    postrotate
 | 
			
		||||
        systemctl reload webp.service > /dev/null
 | 
			
		||||
    endscript
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user