Files
cc/app/sbin/startContainer
2025-08-11 05:16:34 -03:00

15 lines
458 B
Plaintext

this script gets a container UUID
Wtrite a bash script, that gets all info out off the Sqlite3 Database usind the UUID and stores the values in environment variables
setr the BIN_BATH to /4srver/sbin/
the uuid looks like xxx-xxx-xxxx-xxxx-xxxx-....
get the second number
When the number is 001 call the script BIN_PATH/start/n8n
When the number is 002 call the sctipr BIN_ÜATH/start/ODOO18
WHen the number is 003 call the script BIN_PATH/start/ODOO19