sonic-buildimage/files/build_templates/dhcp_relay.service.j2

13 lines
282 B
Plaintext
Raw Normal View History

[Unit]
Description=DHCP relay container
Requires=docker.service
After=interfaces-config.service
[Service]
User={{ sonicadmin_user }}
ExecStart=/usr/bin/{{ docker_container_name }}.sh start
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
[Install]
WantedBy=multi-user.target