diff --git a/templates/400_process-debian.yaml.tt2 b/templates/400_process-debian.yaml.tt2 index bf2a5de..156d61b 100644 --- a/templates/400_process-debian.yaml.tt2 +++ b/templates/400_process-debian.yaml.tt2 @@ -11,11 +11,16 @@ process: getty: running: [% general.init_system == 'systemd' ? 'false' : 'true' %] +{{if eq .Env.DEBIAN_RELEASE "11"}} + mariadbd: + running: true +{{else}} mysqld: running: true mysqld_safe: running: [% general.init_system == 'systemd' ? 'false' : 'true' %] +{{end}} redis-server: running: true diff --git a/templates/500_init-daemons-dabian.yaml.tt2 b/templates/500_init-daemons-dabian.yaml.tt2 index 0ba4a07..83ee93a 100644 --- a/templates/500_init-daemons-dabian.yaml.tt2 +++ b/templates/500_init-daemons-dabian.yaml.tt2 @@ -51,9 +51,11 @@ service: enabled: true running: true +{{if lt .Env.DEBIAN_RELEASE "11"}} mysql.service: enabled: true running: true +{{end}} rsyslog.service: enabled: true