run_program_at_boot
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| run_program_at_boot [2016/09/07 10:31] – walkeradmin | run_program_at_boot [2017/01/31 16:40] (current) – walkeradmin | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| <color blue>At the end of the file add a line to run the Python script:</ | <color blue>At the end of the file add a line to run the Python script:</ | ||
| \\ | \\ | ||
| - | sudo / | + | sudo python |
| + | \\ | ||
| + | \\ | ||
| + | <color purple> | ||
| + | \\ | ||
| \\ | \\ | ||
| The <color Red>&</ | The <color Red>&</ | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | \\ | ||
| + | <color red> | ||
| + | \\ | ||
| + | This method means that the script will run on each login. So if after boot, a user logs in via an SSH session, the script will run again. This will cause issues, if this is a problem, try the Cron method [[run_program_at_boot_using_cron|here]]. | ||
| + | \\ | ||
| + | \\ | ||
| + | |||
| + | |||
run_program_at_boot.1473244294.txt.gz · Last modified: (external edit)
