Logo
Explore Help
Register Sign In
Nemcio/Gogs
1
0
Fork 0
You've already forked Gogs
mirror of https://github.com/gogs/gogs.git synced 2026-03-02 02:00:57 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
copilot/support-embedded-postgres-cli
Gogs/docker/s6/crond/run

11 lines
290 B
Plaintext
Raw Permalink Normal View History

Add the ability to run crond inside the Docker container - Add the crond init script for s6 - Add the RUN_CROND configuration variable to setup crond - Crond will not be run by default (hence the `down` file in the service directory) - `start.sh` check if RUN_CROND = "true" || "1" and remove this file to tell s6 to run the initscript - Resolves #2597
2016-02-12 02:38:18 +00:00
#!/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
ci: use new lint action and add custom config (#6562)
2021-05-19 13:38:13 +08:00
# shellcheck disable=SC2039,SC1091,SC3046
Add the ability to run crond inside the Docker container - Add the crond init script for s6 - Add the RUN_CROND configuration variable to setup crond - Crond will not be run by default (hence the `down` file in the service directory) - `start.sh` check if RUN_CROND = "true" || "1" and remove this file to tell s6 to run the initscript - Resolves #2597
2016-02-12 02:38:18 +00:00
source ./setup
fi
exec gosu root /usr/sbin/crond -fS
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 77ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API