RE: Starting .py Files on Boot/Seth

Hello,

I found this tutorial at some site: https://debian-administration.org/article/28/Making_scripts_run_at_boot_time_with_Debian. Before I ruin my system, I would like to know from people with experience if this will work.

Seth

P.S. If you have any relative articles to show, please let me know.

Hello,

I found this info:

#!/usr/bin/env python

[Unit]
Description=
After=generic-board-startup.service

[Service]
Type=
ExecStart= <my .py file location and .py file>

[Install]
WantedBy=multi-user.target

Is this what you have for starting files on boot? If so, please contact me. Oh and if not, contact me too.

Seth

P.S. I found a couple different ways but I wanted to hear from the community. Let a brother know! Oh and the above mentioned idea was from https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/doc/run_config-pin_during_startup.md.

Hello,

This is another site that describes the process: https://learn.adafruit.com/running-programs-automatically-on-your-tiny-computer/systemd-writing-and-enabling-a-service#.

Enjoy,

Seth