bigbluebutton-Github/build/packages-template/bbb-graphql-server/bbb-graphql-server.service
Gustavo Trott 520c76007a Move Hasura password path from /usr/share/bbb-graphql-server/admin-secret to /etc/default/bbb-graphql-server-admin-pass
It was recommended by Danimo because /etc is for mutable stuff

It also adds comments with context about this file

The owner is set to root:root and permission 600 to be only readable by root (also Danimo suggestion)
2024-09-10 15:01:57 -03:00

29 lines
764 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
# Optional file (the service should not fail if the file does not exist)
EnvironmentFile=-/etc/bigbluebutton/bbb-graphql-server.env
# Load Hasura password
EnvironmentFile=/etc/default/bbb-graphql-server-admin-pass
ExecStart=/usr/local/bin/hasura-graphql-engine serve
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=60
SuccessExitStatus=143
TimeoutStopSec=5
PermissionsStartOnly=true
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target bigbluebutton.target