new file: Dockerfile

new file:   Jenkinsfile
	new file:   files/etc/crontabs/root
	new file:   files/etc/logrotate.d/get_iplayer
	new file:   files/etc/periodic/daily/get_iplayer_update
	new file:   files/etc/periodic/hourly/get_iplayer_pvr
	new file:   files/start
Initial commit
This commit is contained in:
2020-02-18 09:50:10 +00:00
parent 8084b08c60
commit 3dcc4b486d
7 changed files with 92 additions and 0 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
#
# Docker entrypoint
#
# Ensure up-to-date
/etc/periodic/daily/get_iplayer_update
# Start cron with output to syslog
/sbin/syslogd
/usr/sbin/crond
# Restart if killed, e.g. due to update
umask 2
while true; do
/usr/local/bin/get_iplayer -V
su-exec $PUID:$PGID /usr/local/bin/get_iplayer.cgi -p $PORT
done