File: mongod

package info (click to toggle)
mongodb 1:3.4.18-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 252,828 kB
  • sloc: cpp: 1,848,136; ansic: 565,667; python: 84,680; perl: 6,461; sh: 6,333; asm: 4,379; java: 4,342; makefile: 2,232; pascal: 617; ruby: 230; xml: 176; lisp: 19
file content (7 lines) | stat: -rw-r--r-- 104 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/bin/bash

set -e

echo -n "Checking for running mongod process: "
pgrep mongod 2>/dev/null
echo "OK"