2021-08-13 18:53:18 +08:00
|
|
|
[Unit]
|
|
|
|
Description=BigBlueButton HTML5 service, backend instance %i
|
|
|
|
Requires=bbb-html5.service
|
|
|
|
Before=bbb-html5.service
|
|
|
|
BindsTo=bbb-html5.service
|
2021-10-20 22:08:43 +08:00
|
|
|
StartLimitBurst=4
|
|
|
|
StartLimitInterval=70sec
|
2021-10-21 01:30:18 +08:00
|
|
|
StartLimitAction=exit
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
PermissionsStartOnly=true
|
|
|
|
#Type=simple
|
|
|
|
Type=idle
|
|
|
|
EnvironmentFile=/usr/share/meteor/bundle/bbb-html5-with-roles.conf
|
|
|
|
ExecStart=/usr/share/meteor/bundle/systemd_start.sh %i $BACKEND_NODEJS_ROLE
|
|
|
|
WorkingDirectory=/usr/share/meteor/bundle
|
|
|
|
StandardOutput=syslog
|
|
|
|
StandardError=syslog
|
|
|
|
TimeoutStartSec=10
|
2021-10-20 22:08:43 +08:00
|
|
|
Restart=on-failure
|
2021-08-13 18:53:18 +08:00
|
|
|
RestartSec=10
|
|
|
|
User=meteor
|
|
|
|
Group=meteor
|
|
|
|
CPUSchedulingPolicy=fifo
|
|
|
|
Nice=19
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=bbb-html5.service
|