2021-08-13 18:53:18 +08:00
|
|
|
[Unit]
|
|
|
|
Description=BigBlueButton WebRTC SFU
|
|
|
|
Wants=redis-server.service
|
2023-04-26 03:08:36 +08:00
|
|
|
After=syslog.target network.target freeswitch.service bbb-webrtc-recorder.service redis-server.service
|
2022-02-15 01:49:11 +08:00
|
|
|
PartOf=bigbluebutton.target
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
WorkingDirectory=/usr/local/bigbluebutton/bbb-webrtc-sfu
|
|
|
|
ExecStart=/usr/bin/node server.js
|
|
|
|
Restart=always
|
|
|
|
SyslogIdentifier=bbb-webrtc-sfu
|
|
|
|
User=bigbluebutton
|
|
|
|
Group=bigbluebutton
|
|
|
|
Environment=NODE_ENV=production
|
|
|
|
Environment=NODE_CONFIG_DIR=/etc/bigbluebutton/bbb-webrtc-sfu/:/usr/local/bigbluebutton/bbb-webrtc-sfu/config/
|
2023-03-13 23:20:00 +08:00
|
|
|
Environment=ALLOW_CONFIG_MUTATIONS=true
|
2022-08-26 22:08:24 +08:00
|
|
|
CPUSchedulingPolicy=fifo
|
|
|
|
Nice=19
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
[Install]
|
2022-02-15 01:49:11 +08:00
|
|
|
WantedBy=multi-user.target bigbluebutton.target
|