blob: 48f53abde775011edc901569cd34722d77a3e783 [file] [log] [blame]
[Unit]
Description=gBMC DHCP Client
After=network.target dhcp-done.service
Wants=dhcp-done.service
StartLimitIntervalSec=10
StartLimitBurst=3
[Service]
Environment=INTF=gbmcbr
EnvironmentFile=-/run/gbmc-br-dhcp.env
Restart=on-failure
RestartSec=5
ExecStartPre=/usr/bin/update-dhcp-status 'ONGOING' 'Starting dhcp process'
ExecStart=/usr/bin/udhcpc6 -f -q -O fqdn -O bootfile_url -O bootfile_param -i $INTF -s /usr/libexec/gbmc-br-dhcp.sh
[Install]
WantedBy=multi-user.target