Skip to content

06. Script arguments

Psycho edited this page Jun 21, 2018 · 1 revision

Some arguments make life easier

You can start the script with two arguments

  • python main.py: starts the script as non service and with chip support instead of reed relays (equals python main.py 0 0)
  • python main.py 1: starts the script as a service and with chip support instead of reed relays
  • python main.py 1 1: starts the script as a service and with reed relays support instead of chip
  • python main.py 0 1: starts the script as non service and with reed relays support instead of chip
Clone this wiki locally