manually start cron

This commit is contained in:
Sameer Naik 2014-09-20 11:26:51 +05:30
parent daa01f9de1
commit 68c48858a3
2 changed files with 4 additions and 1 deletions

View File

@ -517,6 +517,9 @@ chmod 600 ${GITLAB_DATA_DIR}/.ssh/authorized_keys
chown -R git:git ${GITLAB_DATA_DIR}/.ssh
appStart () {
echo "Starting cron..."
supervisorctl start cron >/dev/null
echo "Starting openssh server..."
supervisorctl start sshd >/dev/null

View File

@ -186,7 +186,7 @@ priority=20
directory=/tmp
command=/usr/sbin/cron -f
user=root
autostart=true
autostart=false
autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log