➜ ~ sudo service mongodb status
● mongod.service - High-performance, schema-free document-oriented database
Loaded: loaded (/lib/systemd/system/mongodb.service; disabled; vendor preset:
Active: failed (Result: exit-code) since Сб 2016-04-30 20:36:22 MSK; 2s ago
Process: 2546 ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf (co
Main PID: 2546 (code=exited, status=2)
апр 30 20:36:22 X75VBP systemd[1]: Started High-performance, schema-free documen
апр 30 20:36:22 X75VBP systemd[1]: mongodb.service: Main process exited, code=ex
апр 30 20:36:22 X75VBP systemd[1]: mongodb.service: Unit entered failed state.
апр 30 20:36:22 X75VBP systemd[1]: mongodb.service: Failed with result 'exit-cod
lines 1-10/10 (END)
var audio = [
new Audio('assets/sounds/timer-tick-quiet.mp3'),
new Audio('assets/sounds/timer-tick-last-5-seconds.mp3')
];
.on('timer', function (time) {
if(timerStatus) {
console.log(time);
timerStatus = false;
$('.gameEndTimer').empty().removeClass('not-active').countdown({seconds: time});
}
audio[time >= 5 ? 0 : 1].play();
})