Skip to content
Snippets Groups Projects
user avatar
Nicolas KAROLAK authored
Try import spf otherwise install it, and use it to validate against spf records.
acf5b4e0
History

EnvSetup

Script to setup and configure softwares used in our servers.

Dependencies

  • python3

How to add a software setup

  • Add a folder next to "envsetup.py" named using the following pattern: ".". The number should not be used by any other setup.

  • Add a file named "0_setup.py" or "0_setup.sh" in this folder.

  • If the file you use is the python one ("0_setup.py"), you should add a function named setup in it. The file will be run with python3. For example:

    def setup(interactive=True):
        pass

Important notes

  • All setup actions should be safe to be run multiple times (to allow reconfiguration of the service).
  • All the adjustable configurations must be in the "conf.sh" file.