26 lines
836 B
Desktop File
26 lines
836 B
Desktop File
[Unit]
|
|
Description=BigBlueButton Web Application
|
|
Requires=network.target
|
|
Wants=redis-server.service
|
|
After=redis-server.service
|
|
PartOf=bigbluebutton.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=bigbluebutton
|
|
Group=bigbluebutton
|
|
WorkingDirectory=/usr/share/bbb-web
|
|
EnvironmentFile=/etc/default/bbb-web
|
|
ExecStart=java -Dgrails.env=${ENV} -Dserver.address=${LISTEN_ADDRESS} -Dserver.port=${LISTEN_PORT} -Dspring.main.allow-circular-references=true -Xms${INITIAL_HEAP_SIZE} -Xmx${MAX_HEAP_SIZE} -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${HEAP_DUMP_PATH} -cp WEB-INF/lib/*:/:WEB-INF/classes/:. org.springframework.boot.loader.WarLauncher
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
RestartSec=60
|
|
SuccessExitStatus=143
|
|
TimeoutStopSec=5
|
|
PermissionsStartOnly=true
|
|
LimitNOFILE=1024
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target bigbluebutton.target
|
|
|