f2103da09c
copp-config service needs to be started after sonic.target so that it could render the copp-config with the latest information. It also needs to be restarted when config reload or load_minigraph is invoked. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
14 lines
231 B
Desktop File
14 lines
231 B
Desktop File
[Unit]
|
|
Description=Update CoPP configuration
|
|
Requires=updategraph.service
|
|
After=updategraph.service
|
|
BindsTo=sonic.target
|
|
After=sonic.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/copp-config.sh
|
|
|
|
[Install]
|
|
WantedBy=sonic.target
|