mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	Add Systemd service for bash wrapper
Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
		
							
								
								
									
										14
									
								
								scripts/beesd@.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								scripts/beesd@.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					[Unit]
 | 
				
			||||||
 | 
					Description=Bees - Best-Effort Extent-Same, a btrfs deduplicator daemon: %i
 | 
				
			||||||
 | 
					After=local-fs.target
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Service]
 | 
				
			||||||
 | 
					ExecStart=/usr/bin/beesd %i
 | 
				
			||||||
 | 
					Nice=19
 | 
				
			||||||
 | 
					IOSchedulingClass=idle
 | 
				
			||||||
 | 
					CPUAccounting=true
 | 
				
			||||||
 | 
					MemoryAccounting=true
 | 
				
			||||||
 | 
					# CPUQuota=95%
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Install]
 | 
				
			||||||
 | 
					WantedBy=local-fs.target
 | 
				
			||||||
		Reference in New Issue
	
	Block a user