bigbluebutton-Github/record-and-playback/core/systemd/bbb-rap-resque-worker.service
Daniel Schreiber 1a12514b61 Fix(build): add service dependency to redis for several services
* fix unit name: the unit name on Ubuntu is `redis-server.service`
* services which need a working redis require both After= and Wants=

See the description in the `systemd.unit` man page.
2022-05-29 22:31:03 +02:00

19 lines
476 B
Desktop File

[Unit]
Description=BigBlueButton resque worker for recordings
Wants=redis-server.service
After=redis-server.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