Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation

This commit is contained in:
2025-07-08 23:43:13 +02:00
parent 6b87a049d4
commit 563d5fd528
1242 changed files with 2301 additions and 1355 deletions

View File

@@ -10,7 +10,7 @@ Optimized for effective disk space management, this role:
- Installs required packages (e.g. [lsof](https://en.wikipedia.org/wiki/Lsof) and [psutil](https://pypi.org/project/psutil/)) using pacman.
- Creates a directory for storing cleanup scripts.
- Deploys a Python script that deletes old backup directories when disk usage is too high.
- Configures a systemd service to run the cleanup script, with notifications via [systemd-notifier](../systemd-notifier/README.md).
- Configures a systemd service to run the cleanup script, with notifications via [alert-core](../alert-core/README.md).
## Purpose

View File

@@ -22,6 +22,6 @@ galaxy_info:
issue_tracker_url: "https://s.veen.world/cymaisissues"
documentation: "https://s.veen.world/cymais"
dependencies:
- python-pip
- systemd-notifier
- system-maintenance-lock
- generic-python-pip
- alert-core
- maintenance-lock

View File

@@ -1,6 +1,6 @@
[Unit]
Description=delete old backups
OnFailure=systemd-notifier.cymais@%n.service
OnFailure=alert-core.cymais@%n.service
[Service]
Type=oneshot