shanmbic
shanmbic

Reputation: 1

How can we make a Python script auto executable at system startup (preferably linux) on every system it is installed on?

I have a python script , it has to be auto - executed on startup. I know how to make it happen in my system through editing and adding files in etc/init.d . I have created a Python Package for it with setup.py and other files but I cant find a way how to make the script auto executable on every system that it is installed . Is there a way to do it using setup.py ?

Upvotes: -3

Views: 902

Answers (1)

Bimal
Bimal

Reputation: 16

Put that script in /etc/rc.local to execute it every time you boot the system.

Upvotes: -1

Related Questions