bigbluebutton-Github/build/packages-template/bbb-webrtc-sfu/bbb-webrtc-sfu.service

22 lines
665 B
SYSTEMD
Raw Normal View History

2021-08-13 18:53:18 +08:00
[Unit]
Description=BigBlueButton WebRTC SFU
Wants=redis-server.service
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/
Environment=ALLOW_CONFIG_MUTATIONS=true
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