This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###remove lock file | |
``` | |
rm -rf /var/atlassian/application-data/jira.jira-home.lock | |
``` | |
###stop jira and confluence | |
``` | |
/opt/atlassian/confluence/bin/stop-confluence.sh | |
/opt/atlassian/jira/bin/shutdown.sh | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Exmaple for how to use a JavaScript function with optional arguments | |
* (1) define default values in object as key-value pairs | |
* (2) compare default_options with options and add default value if a | |
* key is not present in options | |
* (3) do what you want to do with your function | |
*/ | |
function doSomething(options) { | |
var default_options = { | |
'option1' : true, |