bundles/pretalx: no sudo for rebuilding

This commit is contained in:
Franzi 2021-08-17 16:46:58 +02:00
parent d507f6794f
commit 5bbd188b0b
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -28,7 +28,7 @@ actions = {
'triggered': True, 'triggered': True,
}, },
'pretalx_rebuild': { 'pretalx_rebuild': {
'command': 'sudo -u pretalx PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx rebuild', 'command': 'PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg /opt/pretalx/venv/bin/python -m pretalx rebuild',
'needs': { 'needs': {
'action:pretalx_install', 'action:pretalx_install',
'directory:/opt/pretalx/data', 'directory:/opt/pretalx/data',