13 lines
271 B
Django/Jinja
13 lines
271 B
Django/Jinja
[Unit]
|
|
Description=DHCP relay container
|
|
Requires=docker.service
|
|
After=docker.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
|