Defined Type: celery::worker
- Defined in:
- modules/celery/manifests/worker.pp
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'modules/celery/manifests/worker.pp', line 2
define celery::worker(
$app,
$working_dir,
$user,
$group,
$celery_bin_path = '/usr/bin/celery',
$log_level = 'ERROR',
$core_limit = '0',
$version = 4,
) {
systemd::service { "celery-${title}":
content => systemd_template('celery'),
restart => true,
}
}
|