2021-02-23 15:22:45 -06:00
|
|
|
[Unit]
|
|
|
|
Description=MACsec container
|
|
|
|
Requires=swss.service
|
|
|
|
After=swss.service syncd.service
|
2021-05-18 13:44:21 -05:00
|
|
|
BindsTo=sonic.target
|
|
|
|
After=sonic.target
|
2021-02-23 15:22:45 -06:00
|
|
|
StartLimitIntervalSec=1200
|
|
|
|
StartLimitBurst=3
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=root
|
|
|
|
ExecStartPre=/usr/bin/macsec.sh start
|
|
|
|
ExecStart=/usr/bin/macsec.sh wait
|
|
|
|
ExecStop=/usr/bin/macsec.sh stop
|
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
|
|
|
|
|
|
|
[Install]
|
2021-05-18 13:44:21 -05:00
|
|
|
WantedBy=sonic.target
|