mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-03 07:59:42 +00:00
- Introduce dynamic SYSTEMCTL_ALARM_COMPOSER_SUBSERVICES based on Mailu token and MODE_RESET - Prevent inclusion of sys-ctl-alm-email when disabled - Add system_service_is_template flag to avoid state-setting on template services - Update notifications to reload daemon for @ template units - Align msmtp execution conditions See: https://chatgpt.com/share/692c7a71-afcc-800f-8aba-6800a042ce3b
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.j2andsystemctl@.service.j2. - Timers: Integrates with
sys-timerfor scheduled execution. - Runtime Limits: Configurable
RuntimeMaxSecper service. - Handlers: Automatic reload/restart of services when definitions change.