blob: ddc8ec8ca42867276259c0075694895ab026e34b [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Phosphor BMC Code Update
3Wants=mapper-wait@-org-openbmc-managers-Download.service
4After=mapper-wait@-org-openbmc-managers-Download.service
5Wants=mapper-wait@-org-openbmc-control-bmc0.service
6After=mapper-wait@-org-openbmc-control-bmc0.service
7
8[Service]
9Restart=always
10ExecStart={sbindir}/bmc_update.py
11Environment="PYTHONUNBUFFERED=1"
12Type=dbus
13BusName={BUSNAME}
14
15[Install]
16WantedBy={SYSTEMD_DEFAULT_TARGET}