97c0f51964
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.
19 lines
462 B
Desktop File
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
|