bigbluebutton-Github/build/packages-template/bbb-graphql-server/bbb-graphql-server.service

29 lines
764 B
SYSTEMD
Raw Normal View History

[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
# Optional file (the service should not fail if the file does not exist)
EnvironmentFile=-/etc/bigbluebutton/bbb-graphql-server.env
# Load Hasura password
EnvironmentFile=/usr/share/bbb-graphql-server/admin-secret
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
[Install]
WantedBy=multi-user.target bigbluebutton.target