2023-04-28 00:38:44 +08:00
|
|
|
[Unit]
|
|
|
|
Description=BigBlueButton GraphQL Middleware
|
|
|
|
Requires=network.target
|
|
|
|
Wants=postgresql.service redis-server.service bbb-graphql-server.service
|
|
|
|
After=postgresql.service redis-server.service bbb-graphql-server.service
|
|
|
|
PartOf=bigbluebutton.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=bigbluebutton
|
|
|
|
Group=bigbluebutton
|
|
|
|
WorkingDirectory=/usr/local/bin
|
|
|
|
EnvironmentFile=/etc/default/bbb-graphql-middleware
|
|
|
|
ExecStart=/usr/local/bin/bbb-graphql-middleware
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
Restart=always
|
|
|
|
RestartSec=60
|
|
|
|
SuccessExitStatus=143
|
|
|
|
TimeoutStopSec=5
|
|
|
|
PermissionsStartOnly=true
|
2024-06-21 06:02:24 +08:00
|
|
|
LimitNOFILE=4096
|
2023-04-28 00:38:44 +08:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target bigbluebutton.target
|
|
|
|
|