Horje
keep services up no matter what Code Example
keep services up no matter what
function finish {
    # re-start service
    sudo /etc/init.d/something start
}
trap finish EXIT
sudo /etc/init.d/something stop
# Do the work...

# Allow the script to end and the trapped finish function to start the
# daemon back up.




Shell

Related
echo or cat into multiple files Code Example echo or cat into multiple files Code Example
GVfs metadata is not supported. Fallback to TeplMetadataManager. Code Example GVfs metadata is not supported. Fallback to TeplMetadataManager. Code Example
how to make maven clean install faster in eclipse Code Example how to make maven clean install faster in eclipse Code Example
`path` for shell provisioner does not exist on the host system: Code Example `path` for shell provisioner does not exist on the host system: Code Example
Unset a Variable; Remove Variable; Delete Variable Code Example Unset a Variable; Remove Variable; Delete Variable Code Example

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