26 lines
564 B
SYSTEMD
26 lines
564 B
SYSTEMD
|
[Unit]
|
||
|
Description=BigBlueButton HTML5 service, backend instance %i
|
||
|
Requires=bbb-html5.service
|
||
|
Before=bbb-html5.service
|
||
|
BindsTo=bbb-html5.service
|
||
|
|
||
|
[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
|
||
|
RestartSec=10
|
||
|
User=meteor
|
||
|
Group=meteor
|
||
|
CPUSchedulingPolicy=fifo
|
||
|
Nice=19
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=bbb-html5.service
|
||
|
|