container, service: Support reloading containers on template file change

This commit is contained in:
uumas
2026-06-08 19:11:16 +03:00
parent 3e84073f39
commit e28a4097a0
10 changed files with 85 additions and 1 deletions

View File

@@ -212,3 +212,21 @@ argument_specs:
type: bool
required: false
default: true
container_reload_method:
description: |
How to reload configuration when systemctl reload is called
kill: Sends SIGHUP to the container
command: Runs the specified command inside the container
type: str
required: false
default: none
choices:
- kill
- command
- none
container_reload_command:
description: >-
Command to run inside container when systemctl reload is called.
Required if container_reload_method is command, ignored otherwise.
type: str
required: false