mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	sys-daemon & sys-service: align timeout handling
- 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
This commit is contained in:
		| @@ -1,8 +1,7 @@ | ||||
| # General | ||||
| SYSTEMD_MANAGER_CONF_DIR:       "/etc/systemd/system.conf.d" | ||||
|  | ||||
| # Defaults | ||||
| SYSTEMD_DEFAULT_TIMEOUT_START:  "90s"      # Maximum time a service is allowed to reach the 'active' state during startup | ||||
| SYSTEMD_DEFAULT_TIMEOUT_STOP:   "90s"      # Maximum time a service is allowed to stop gracefully before being killed | ||||
| SYSTEMD_DEFAULT_TIMEOUT_ABORT:  "90s"      # Additional grace period after Stop timeout before systemd sends SIGKILL | ||||
| SYSTEMD_MANAGER_CONF_DIR:       "/etc/systemd/system.conf.d"   # Directory for systemd manager drop-in configuration files | ||||
|  | ||||
| # Defaults (system-wide service timeouts) | ||||
| SYSTEMD_DEFAULT_TIMEOUT_START:  "24h"  # How long systemd waits for a service to reach the "active" state during startup | ||||
| SYSTEMD_DEFAULT_TIMEOUT_STOP:   "90s"  # How long systemd waits for a service to stop gracefully after receiving a stop command | ||||
| SYSTEMD_DEFAULT_TIMEOUT_ABORT:  "90s"  # Extra grace period after the stop timeout expires, before systemd sends SIGKILL to force termination | ||||
|   | ||||
		Reference in New Issue
	
	Block a user