aaaaaaarghhhhhhhh
This commit is contained in:
parent
83a23b3c1b
commit
d5fce90b8d
1 changed files with 1 additions and 9 deletions
10
start.sh
10
start.sh
|
@ -1,12 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Print environment variables to a file
|
||||
printenv > /app/env
|
||||
|
||||
# Start the cron service
|
||||
service cron start
|
||||
|
||||
# Run your main application script (pulse.py) in the background
|
||||
python3 /app/pulse.py &
|
||||
|
||||
# Run the other script periodically in the background
|
||||
|
@ -17,6 +10,5 @@ python3 /app/pulse.py &
|
|||
done
|
||||
) &
|
||||
|
||||
# Keep the container running and output both cron logs and pulse.py output
|
||||
tail -f /var/log/cron.log &
|
||||
|
||||
wait -n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue