Skip to content

Commit e396d1b

Browse files
Update webhook dispatch command for AIO
The listed command didn't work properly, had an unnecessary sudo inside the container, tried to open a TTY, and also duplicated the exec portion. I've verified that this updated command works in a tmux session. Signed-off-by: EncryptedGiraffe <hi@encryptedgiraffe.xyz>
1 parent fadd9f1 commit e396d1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin_manual/webhook_listeners/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ For Nextcloud-AIO you should use this command on the host server.
141141

142142
.. code-block::
143143
144-
set -e; while true; do sudo docker exec -it nextcloud-aio-nextcloud docker exec -it nextcloud-aio-nextcloud sudo -E -u www-data php occ background-job:worker -v -t 60 "OCA\WebhookListeners\BackgroundJobs\WebhookCall"; done
144+
set -e; while true; do sudo docker exec -u www-data -i nextcloud-aio-nextcloud php occ background-job:worker -v -t 60 "OCA\\WebhookListeners\\BackgroundJobs\\WebhookCall"; done
145145

146146
You may want to adjust the number of workers and the timeout (in seconds) to your needs.
147147
The logs of the worker can be checked by attaching to the screen or tmux session.

0 commit comments

Comments
 (0)