13 lines
282 B
Django/Jinja
13 lines
282 B
Django/Jinja
[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
|