2021-01-25 19:43:56 -06:00
|
|
|
[Unit]
|
|
|
|
Description=MUX Cable Container
|
2021-11-10 10:08:03 -06:00
|
|
|
Requires=database.service updategraph.service swss.service
|
|
|
|
After=swss.service
|
2021-04-15 20:02:18 -05:00
|
|
|
BindsTo=sonic.target
|
|
|
|
After=sonic.target
|
2021-01-25 19:43:56 -06:00
|
|
|
StartLimitIntervalSec=1200
|
|
|
|
StartLimitBurst=3
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User={{ sonicadmin_user }}
|
2021-05-05 01:14:48 -05:00
|
|
|
ExecStartPre=/usr/local/bin/write_standby.py
|
2021-10-26 16:10:13 -05:00
|
|
|
ExecStartPre=/usr/local/bin/mark_dhcp_packet.py
|
|
|
|
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start
|
|
|
|
ExecStart=/usr/bin/{{docker_container_name}}.sh wait
|
|
|
|
ExecStop=/usr/bin/{{docker_container_name}}.sh stop
|
2022-08-31 15:10:22 -05:00
|
|
|
ExecStopPost=/usr/local/bin/write_standby.py --shutdown mux
|
2021-10-26 16:10:13 -05:00
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
|
|
|
|
2021-01-25 19:43:56 -06:00
|
|
|
[Install]
|
2021-07-20 20:21:09 -05:00
|
|
|
WantedBy=sonic.target
|