-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bash: Added support for parameters and the
java
and sysctl
comman…
…ds. (#3505) Co-authored-by: Michael Schmidt <[email protected]>
- Loading branch information
1 parent
b0c2a9b
commit b9512b2
Showing
9 changed files
with
68 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
docker run | ||
--name elk \ | ||
-p 5601:5601 \ | ||
--restart=always \ | ||
--privileged \ | ||
-dit \ | ||
easyj/elk:7.12.1 | ||
|
||
---------------------------------------------------- | ||
|
||
[ | ||
["function", "docker"], | ||
" run\r\n", | ||
|
||
["parameter", "--name"], | ||
" elk ", | ||
["punctuation", "\\"], | ||
|
||
["parameter", "-p"], | ||
["number", "5601"], | ||
":5601 ", | ||
["punctuation", "\\"], | ||
|
||
["parameter", "--restart"], | ||
["operator", ["="]], | ||
"always ", | ||
["punctuation", "\\"], | ||
|
||
["parameter", "--privileged"], | ||
["punctuation", "\\"], | ||
|
||
["parameter", "-dit"], | ||
["punctuation", "\\"], | ||
|
||
"\r\neasyj/elk:7.12.1" | ||
] | ||
|
||
---------------------------------------------------- | ||
|
||
Checks for variable assignments. |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,8 @@ Write down the passphrase. Store both at safe place(s). | |
["command", [ | ||
["shell-symbol", "$"], | ||
["bash", [ | ||
"borg init --encryption", | ||
"borg init ", | ||
["parameter", "--encryption"], | ||
["operator", ["="]], | ||
"keyfile-blake2 ", | ||
["string", ["\"[email protected]:backup\""]] | ||
|
This file contains 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