Cannot run a python script on powerup

I found a great post over at: on how to have a python script run on power up.

My python code that displays text on an oled screen runs fine on Angstrom when I run it manually.

The web page says to:

My code:
Description=Start Python Oled



My error message:
root@beaglebone:~# systemctl status oled.service
oled.service - Start Python Oled
Loaded: loaded (/lib/systemd/system/oled.service; enabled)
Active: failed (Result: exit-code) since Tue 2014-05-13 00:12:38 GMT+3; 23s ago
Process: 666 ExecStart=/home/root/py-gaugette/samples/python (code=exited, status=203/EXEC)
CGroup: name=systemd:/system/oled.service

May 13 00:12:38 beaglebone systemd[1]: Starting Start Python Oled…
May 13 00:12:38 beaglebone systemd[1]: Started Start Python Oled.
May 13 00:12:38 beaglebone systemd[1]: oled.service: main process exited, code=exited, status=203/EXEC
May 13 00:12:38 beaglebone systemd[1]: Unit oled.service entered failed state

Nobody else has chimed in - and nearly anyone would be more qualified…

Could it be that you didn’t properly specify ‘python’ in the “execstart” section of [Service]?


Should be this:


I made the change and it now works perfectly!

Thank you,