I have a workflow automation system that uses python scripts to run a workflow defined in them. I'm buiding a deb
package and in doubt where to install those scripts.
I currently in doubt if I should put them in /usr/lib/workflow_automate
or /usr/share/workflow_automate
.
So it would look something like this:
/usr/share/workflow_automate/wf_script1.py /usr/share/workflow_automate/wf_script2.py
UPD:
The system expects to configure an environment variable containing a path to a configuration file. The configuration file is expected to contain a path to a directory the scripts are contained in.
There is a daemon process of the workflow system which monitors the configured directories for changes.
bin
directory (e.g./usr/bin
) and without a.py
filename suffix.