[macsec]: Bind macsec service to sonic.target (#7642)
MACsec service cannot be enabled by "sudo config feature state macsec enabled" Signed-off-by: Ze Gan <ganze718@gmail.com>
This commit is contained in:
parent
359c6bb9d1
commit
8f883fee67
@ -2,6 +2,8 @@
|
||||
Description=MACsec container
|
||||
Requires=swss.service
|
||||
After=swss.service syncd.service
|
||||
BindsTo=sonic.target
|
||||
After=sonic.target
|
||||
StartLimitIntervalSec=1200
|
||||
StartLimitBurst=3
|
||||
|
||||
@ -14,4 +16,4 @@ Restart=always
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=sonic.target
|
Loading…
Reference in New Issue
Block a user