Skip to content

Commit e8cf201

Browse files
EncryptedGiraffeszaimen
authored andcommitted
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 c0c6112 commit e8cf201

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
@@ -157,7 +157,7 @@ For Nextcloud-AIO you should use this command on the host server.
157157

158158
.. code-block::
159159
160-
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
160+
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
161161

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

0 commit comments

Comments
 (0)