mirror of https://github.com/go-gitea/gitea
Merge pull request #2605 from 0rax/develop
Add the ability to run crond inside the Docker containerpull/197/head
commit
1fa4fe706a
@ -0,0 +1,9 @@ |
||||
#!/bin/sh |
||||
# Crontabs are located by default in /var/spool/cron/crontabs/ |
||||
# The default configuration is also calling all the scripts in /etc/periodic/${period} |
||||
|
||||
if test -f ./setup; then |
||||
source ./setup |
||||
fi |
||||
|
||||
exec gosu root /usr/sbin/crond -fS |
Loading…
Reference in new issue