Skip to content

Commit 7a8b202

Browse files
committed
Fixes #72 - Replace sidekiq-selinux wrapper with direct sidekiq call
The sidekiq-selinux wrapper script exists only for SELinux domain transition on bare-metal RPM installations. In containers, SELinux is disabled (label=disable) so the wrapper adds no value. Replace the wrapper call with a direct sidekiq invocation and use an absolute path for the dynflow-sidekiq.rb script instead of a relative one for clarity.
1 parent 5efa47a commit 7a8b202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/roles/foreman/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
DYNFLOW_REDIS_URL: "redis://localhost:6379/6"
155155
REDIS_PROVIDER: "DYNFLOW_REDIS_URL"
156156
FOREMAN_ENABLED_PLUGINS: "{{ foreman_plugins | join(' ') }}"
157-
command: "/usr/libexec/foreman/sidekiq-selinux -e production -r ./extras/dynflow-sidekiq.rb -C /etc/foreman/dynflow/%i.yml"
157+
command: "sidekiq -e production -r /usr/share/foreman/extras/dynflow-sidekiq.rb -C /etc/foreman/dynflow/%i.yml"
158158
quadlet_options:
159159
- |
160160
[Install]

0 commit comments

Comments
 (0)