bigbluebutton-Github/record-and-playback/core/systemd/bbb-rap-resque-worker.service
Calvin Walton 97c0f51964 bbb-record-core: Restore systemd unit cwd to 'scripts' dir
The rap scripts might load or run some scripts using relative paths from
the scripts directory, so restore that.

Bundler automatically looks up in parent dirs to find the Gemfile, so
loading gems will work correctly.
2022-03-29 12:57:16 -04:00

19 lines
462 B
Desktop File

[Unit]
Description=BigBlueButton resque worker for recordings
Wants=redis.service
After=redis.service
[Service]
Type=simple
ExecStart=/usr/bin/bundle exec rake -f Rakefile resque:workers
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