add start.sh
This commit is contained in:
parent
f889cc763c
commit
d89ae07f7b
2 changed files with 13 additions and 3 deletions
11
start.sh
Normal file
11
start.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Start the cron service
|
||||
service cron start
|
||||
|
||||
# Run your main application script (pulse.py) in the background
|
||||
python3 /pulse.py &
|
||||
|
||||
# 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