bigbluebutton-Github/build/packages-template/bbb-graphql-server/bbb-graphql-server.service
2024-05-03 15:56:37 -03:00

25 lines
534 B
Desktop File

[Unit]
Description=BigBlueButton GraphQL Server
Requires=network.target
Wants=postgresql.service
After=postgresql.service
PartOf=bigbluebutton.target
[Service]
Type=simple
User=bigbluebutton
Group=bigbluebutton
WorkingDirectory=/usr/local/bin
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
[Install]
WantedBy=multi-user.target bigbluebutton.target