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
|
2022-02-17 23:05:18 +08:00
|
|
|
StartLimitAction=none
|
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
|
2022-08-26 22:08:24 +08:00
|
|
|
Nice=18
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=bbb-html5.service
|