e662008f72
- Why I did it To optimize stop on warm boot. - How I did it Added kill for containers
14 lines
410 B
Django/Jinja
14 lines
410 B
Django/Jinja
[Unit]
|
|
Description=Management Framework container
|
|
Requires=database.service
|
|
After=database.service swss.service syncd.service
|
|
BindsTo=sonic.target
|
|
After=sonic.target
|
|
Before=ntp-config.service
|
|
|
|
[Service]
|
|
User={{ sonicadmin_user }}
|
|
ExecStartPre=/usr/local/bin/{{docker_container_name}}.sh start
|
|
ExecStart=/usr/local/bin/{{docker_container_name}}.sh wait
|
|
ExecStop=/usr/local/bin/{{docker_container_name}}.sh stop
|