I created a pretty simple script called main_start_script that will run 2 python programs in background, code is:
python /opt/cuckoo/cuckoo-2/cuckoo.py 1>cuckoo_script/cuckoo_start.txt 2>&1 &
python /opt/cuckoo/cuckoo-2/utils/web.py 1>cuckoo_script/web_start.txt 2>&1 &
Now I wonder how can I check if these two programs are running, and if not, run the script to start them.
I heard people recommend using "Puppet" to check, but I haven't found a useful tutorial so far.