mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-27 14:05:17 +02:00
- Updated sys-daemon defaults: * Increased SYSTEMD_DEFAULT_TIMEOUT_START to 24h * Improved inline comments for clarity - Changed sys-service vars: * Removed hardcoded 60s TimeoutStartSec * Now empty by default → inherits manager defaults from sys-daemon See: https://chatgpt.com/share/68ade432-67f8-800f-b6c2-b8f87764479b
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.