Chapter 4. Scripts

Chapter 4. Scripts

4.1. Scripts Configuration
4.2. How to write a script

Symbolic can manage and run user scripts, written in Bash, Python and Groovy. To provide a better security, this kind of script cannot be uploaded and modified directly inside Symboilc application.

4.1. Scripts Configuration

Inside Symbolic configuration file, you can decide a placement for your symbolic files and extension that this files must have.

script.folder = /etc/symbolic/scripts
script.extension = script

In our example you can place inside /etc/symbolic/scripts files with extension script. So, for example, could be created

  • shutdown-machines.script

  • startAllYouNeed.script