dbced4fb77
- snmp service needs swss to be ready to get the port counter map Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
14 lines
349 B
Django/Jinja
14 lines
349 B
Django/Jinja
[Unit]
|
|
Description=SNMP container
|
|
Requires=database.service swss.service
|
|
After=database.service swss.service
|
|
|
|
[Service]
|
|
User={{ sonicadmin_user }}
|
|
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start
|
|
ExecStart=/usr/bin/{{docker_container_name}}.sh attach
|
|
ExecStop=/usr/bin/{{docker_container_name}}.sh stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|