chore: package
This commit is contained in:
9
s6/crond/run
Executable file
9
s6/crond/run
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
# specific to alpine, won't work with debian
|
||||
|
||||
# place crontab /!\ UTC time
|
||||
printf "ping=\"curl -fsS -m 10 --retry 5 -o /dev/null ${HC_PING}\"\n${SCHEDULE} /app/scripts/runjob.sh && \${ping} || \${ping}/fail \n" | crontab -
|
||||
|
||||
# start cron
|
||||
crond -f
|
4
s6/sqlpage/run
Executable file
4
s6/sqlpage/run
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh -eu
|
||||
|
||||
/app/bootstrap -c /app/sqlpage/sqlpage.json
|
||||
|
Reference in New Issue
Block a user