mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-27 14:05:17 +02:00
sys-service
Description
Role to manage systemd service units for Infinito.Nexus software stacks.
It installs or removes unit files, configures runtime behavior, and ensures services are properly deployed.
Overview
- Resets service units by removing old or obsolete definitions.
- Deploys new service unit files and service scripts.
- Optionally sets up timers linked to the services.
- Ensures correct reload/restart behavior across the stack.
Features
- Unit Cleanup: Automated removal of old service units.
- Custom Templates: Supports both
systemctl.service.j2
andsystemctl@.service.j2
. - Timers: Integrates with
sys-timer
for scheduled execution. - Runtime Limits: Configurable
RuntimeMaxSec
per service. - Handlers: Automatic reload/restart of services when definitions change.