acff8ba0f8
* Introduce Hasura override config and a password file * Add message when set a password to Hasura * add logs to inspect errors * fix config file name * test changing key file owner * test without override file * fix print status * store password as env var * changes suggested in PR
29 lines
764 B
Desktop File
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=/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
|
|
LimitNOFILE=4096
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target bigbluebutton.target
|