mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-06 02:11:42 +02:00
Renamed alert-bot to alert-compose
This commit is contained in:
@@ -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 [alert-core](../alert-core/README.md).
|
||||
- Configures a systemd service to run the cleanup script, with notifications via [alert-compose](../alert-compose/README.md).
|
||||
|
||||
## Purpose
|
||||
|
||||
|
@@ -23,5 +23,5 @@ galaxy_info:
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- generic-python-pip
|
||||
- alert-core
|
||||
- alert-compose
|
||||
- maintenance-lock
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=delete old backups
|
||||
OnFailure=alert-core.cymais@%n.service
|
||||
OnFailure=alert-compose.cymais@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user