2023-03-08 23:23:45 +08:00
|
|
|
[Unit]
|
|
|
|
Description=BigBlueButton GraphQL Server
|
|
|
|
Requires=network.target
|
|
|
|
Wants=postgresql.service
|
|
|
|
After=postgresql.service
|
|
|
|
PartOf=bigbluebutton.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=bigbluebutton
|
|
|
|
Group=bigbluebutton
|
2023-04-28 00:38:44 +08:00
|
|
|
WorkingDirectory=/usr/local/bin
|
2023-03-08 23:23:45 +08:00
|
|
|
EnvironmentFile=/etc/default/bbb-graphql-server
|
|
|
|
ExecStart=/usr/local/bin/hasura-graphql-engine serve
|
|
|
|
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-03-08 23:23:45 +08:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target bigbluebutton.target
|
|
|
|
|