-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapps-shell.html
145 lines (133 loc) · 5.16 KB
/
apps-shell.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<title>Logscape Apps </title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style-app.css" rel="stylesheet">
<link href="css/cloud-app.css" rel="stylesheet">
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.js"></script>
<script src="js/angular-1.2.9/angular.min.js"></script>
<script src="js/angular-1.2.9/angular-animate.min.js"></script>
<script src="js/angular-1.2.9/angular-route.min.js"></script>
<script src="js/app/controllers.js"> </script>
</head>
<body>
<div style="width:100%;height:85px;background-color:#2980B9;">
<!--div
a(href="/") Documentation
a(href="") Forums |
a(href="") Getting Started |
a(href="") Logscape |
-->
<div style="padding-left:100px;padding-top:20px"><img src="images/logscape-apps-logo.png" style="height:45px"></div>
</div>
<div id="navdiv" style="width:100%;height:40px;background-color:#EEE;box-shadow: 0 0 2px #999;">
<div style="padding-left:140px;padding-top:10px"><a href="/">Documentation | </a><a href="http://logscape.com">Main Website | </a><a href="http://logscape.com/get.html">Download | </a><a href="http://logscape.activeboard.com/">Forums | </a><a href="/apps.html">Apps | </a></div>
</div>
<div class="row">
<div style="margin-left:10px" class="col-md-2 nav-padding">
<hr>
<ul class="nav nav-tabs nav-stacked">
<p>Start Here </p>
<li><a href="/apps-intro.html">What is an App </a></li>
<li><a href="/apps-deploy.html">How to Deploy </a></li>
<li>
<!--a(href="") How to Configure An App -->
</li>
<li><a href="apps-style.html">Style Guidelines </a></li>
<p>Service Guides </p>
<li><a href="/apps-groovy.html">Groovy </a></li>
<li><a href="/apps-shell.html">Shell Commands </a></li>
</ul>
<!--
li
a(href="/apps-sql.html") SQL
li
a(href="/apps-jmx.html") JMX
-->
</div>
<div class="col-md-9">
<div class="container-fluid">
<div class="row">
<div class="col-md-11"></div>
<h3>Shell Command Services </h3>
<p>A service can be configured to execute shell commands. </p>
<pre>
<service>
<background>true</background>
<fork>false</fork>
<script> load.sh </script>
</service> </pre>
<p>The shell script will run as it would if it were executed at the command-line. The shell script inherits the environment from the Logscape parent process. Vbscripts, batch files also execute in the same way. </p>
<p><strong>Passing Arguments </strong></p>
<p>Any override properties are passed to the shell script as a key value pair. There are no restrictions on the naming of properties. As long as the property does not violate any rules for that particular shell. For example '!' and ';' are special characters when using a unix shell but the ';' is perfectly valid when on the Windows platform. </p>
<p>Arguments can also be passed to your shell script in the script tag. </p>
</div>
<div class="row">
<div class="col-md-11"><br><br><br>
<div id="disqus_thread">
<script>
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'logscape'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<!--
.container
//
.navbar.navbar-fixed-top
.navbar-inner
.nav-collapse.collapse
ul.nav
li.active Main Support Site
li Explore Logscape Apps
li
a(href="") Download
h3 Logscape Apps
a(href="index.html") Getting Started |
a(href="http://support.liquidlabs.co.uk") Older Versions 1.3x Docs
.container-fluid
br
br
br
br
br
.row
.col-md-11(style="padding-left:100px")
block content
script(src="js/ga.js")
-->
<!--
//
.row
.col-md-2.nav-padding
br
ul
li
a(href="https://github.com/logscape/windowsapp#windowsapp-10") WindowsApp
li
a(href="https://github.com/logscape/unixapp#unixapp-10") UnixApp
li
a(href="https://github.com/logscape/coherenceapp#oraclecoherenceapp-10") Oracle Coherence App
li
a(href="https://github.com/logscape/javaapp#javaapp-10") JavaApp
li
a(href="https://github.com/logscape/vmwareapp#vmwareapp-10") VMWareApp
li
a(href="https://github.com/logscape/ciscoapp#ciscoapp-10") Cisco Devices
.col-md-10
block content
-->