Horje
keep services up 2 Code Example
keep services up 2
function finish {
    # re-start service
    sudo service mongdb start
}
trap finish EXIT
# Stop the mongod instance
sudo service mongdb stop
# (If mongod is configured to fork, e.g. as part of a replica set, you
# may instead need to do "sudo killall --wait /usr/bin/mongod".)




Shell

Related
gedit linux install suing terminal Code Example gedit linux install suing terminal Code Example
how to transfer data between computers Code Example how to transfer data between computers Code Example
debian kernel ppa Code Example debian kernel ppa Code Example
storage/logs" and it could not be created: Permission denied Code Example storage/logs" and it could not be created: Permission denied Code Example
snx disconnect linux Code Example snx disconnect linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9