bigbluebutton-Github/record-and-playback/core/systemd/bbb-rap-resque-worker.service
Mikhail Novosyolov 340b0771e5 Avoid race condition between redis and bbb-rap-resque-worker
Redis must be started before bbb-rap-resque-worker.service which will connect to Redis
2021-08-19 02:37:20 +03:00

19 lines
511 B
Desktop File

[Unit]
Description=BigBlueButton resque worker for recordings
Wants=redis.service
After=redis.service
[Service]
Type=simple
ExecStart=/bin/sh -c '/usr/bin/rake -f ../Rakefile resque:workers >> /var/log/bigbluebutton/bbb-rap-worker.log'
WorkingDirectory=/usr/local/bigbluebutton/core/scripts
Environment=QUEUE=rap:archive,rap:publish,rap:process,rap:sanity,rap:captions,rap:events
Environment=COUNT=1
# Environment=VVERBOSE=1
User=bigbluebutton
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target