25 lines
633 B
SYSTEMD
25 lines
633 B
SYSTEMD
|
[Unit]
|
||
|
Description=BigBlueButton GraphQL Middleware
|
||
|
Requires=network.target
|
||
|
Wants=postgresql.service redis-server.service bbb-graphql-server.service
|
||
|
After=postgresql.service redis-server.service bbb-graphql-server.service
|
||
|
PartOf=bigbluebutton.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=bigbluebutton
|
||
|
Group=bigbluebutton
|
||
|
WorkingDirectory=/usr/local/bin
|
||
|
EnvironmentFile=/etc/default/bbb-graphql-middleware
|
||
|
ExecStart=/usr/local/bin/bbb-graphql-middleware
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
Restart=always
|
||
|
RestartSec=60
|
||
|
SuccessExitStatus=143
|
||
|
TimeoutStopSec=5
|
||
|
PermissionsStartOnly=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target bigbluebutton.target
|
||
|
|