1a12514b61
* 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.
19 lines
476 B
Desktop File
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
|