mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Refactor systemctl services and categories due to alarm bugs
This commit restructures systemctl service definitions and category mappings. Motivation: Alarm-related bugs revealed inconsistencies in service and role handling. Preparation step: lays the groundwork for fixing the alarm issues by aligning categories, roles, and service templates.
This commit is contained in:
		
							
								
								
									
										24
									
								
								roles/sys-ctl-cln-faild-bkps/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								roles/sys-ctl-cln-faild-bkps/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| # Docker Volume Backup Cleanup Role | ||||
|  | ||||
| ## Description | ||||
|  | ||||
| This role cleans up failed Docker backups by pulling a [Git repository](https://github.com/kevinveenbirkenbach/sys-ctl-cln-faild-bkps) that contains cleanup scripts and configuring a systemd service to execute them. It ensures that failed or incomplete backups are removed to free up disk space and maintain a healthy backup environment. | ||||
|  | ||||
| ## Overview | ||||
|  | ||||
| Optimized for backup maintenance, this role: | ||||
| - Clones the sys-ctl-cln-faild-bkps repository. | ||||
| - Configures a systemd service to run the cleanup script. | ||||
| - Integrates with the [sys-timer](../sys-timer/README.md) role to schedule periodic cleanup. | ||||
| - Works in conjunction with the sys-svc-directory-validator role for additional verification. | ||||
|  | ||||
| ## Purpose | ||||
|  | ||||
| The primary purpose of this role is to remove failed Docker backups automatically, thereby freeing disk space and preventing backup storage from becoming cluttered with incomplete data. | ||||
|  | ||||
| ## Features | ||||
|  | ||||
| - **Repository Cloning:** Retrieves the latest cleanup scripts from a Git repository. | ||||
| - **Service Configuration:** Sets up a systemd service to run the cleanup tasks. | ||||
| - **Timer Integration:** Schedules periodic cleanup through a systemd timer. | ||||
| - **Dependency Integration:** Works with sys-svc-directory-validator to enhance backup integrity. | ||||
		Reference in New Issue
	
	Block a user