blob: 48f53abde775011edc901569cd34722d77a3e783 [file] [log] [blame]
William A. Kennington IIIb174c182021-11-03 14:54:51 -07001[Unit]
2Description=gBMC DHCP Client
Yuxiao Zhang32b56812024-06-14 15:17:45 -07003After=network.target dhcp-done.service
4Wants=dhcp-done.service
William A. Kennington IIIb174c182021-11-03 14:54:51 -07005StartLimitIntervalSec=10
6StartLimitBurst=3
7
8[Service]
William A. Kennington III420c0bb2024-09-16 13:13:14 -07009Environment=INTF=gbmcbr
10EnvironmentFile=-/run/gbmc-br-dhcp.env
William A. Kennington III37705e22022-02-07 16:03:32 -080011Restart=on-failure
William A. Kennington IIIb174c182021-11-03 14:54:51 -070012RestartSec=5
Yuxiao Zhang32b56812024-06-14 15:17:45 -070013ExecStartPre=/usr/bin/update-dhcp-status 'ONGOING' 'Starting dhcp process'
William A. Kennington III420c0bb2024-09-16 13:13:14 -070014ExecStart=/usr/bin/udhcpc6 -f -q -O fqdn -O bootfile_url -O bootfile_param -i $INTF -s /usr/libexec/gbmc-br-dhcp.sh
William A. Kennington IIIb174c182021-11-03 14:54:51 -070015
16[Install]
17WantedBy=multi-user.target