mirror of https://github.com/zulip/zulip.git
cron: Monitor "command"s with sentry, now that they are one command.
These no longer involve any shell, so are safe to prepend with the sentry wrapper.
This commit is contained in:
parent
f246b82f67
commit
c7f42de8ba
|
@ -32,7 +32,7 @@ define zulip::cron(
|
|||
$cron_require = []
|
||||
}
|
||||
if $command != undef {
|
||||
$run = $command
|
||||
$run = "${sentry}${command}"
|
||||
} elsif $manage != undef {
|
||||
$run = "cd /home/zulip/deployments/current/ && ${sentry}./manage.py ${manage} >/dev/null"
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue