-
Notifications
You must be signed in to change notification settings - Fork 73
/
about.html
43 lines (43 loc) · 2.47 KB
/
about.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
<header class="bar bar-nav">
<a href="/">
<button class="btn btn-link btn-nav pull-left">
<span class="icon icon-left-nav"></span>
Back
</button>
</a>
<h1 class="title">About Monu</h1>
</header>
<div class="content" style="padding: 40px 20px">
<h5>What is Monu</h5>
<p>Monu is an open source process monitoring application for Mac OS. You can configure Monu to launch programs, and when Monu starts up it will start them. Additionally, it will monitor the processes and restart them if they crash.</p>
<h5>How to use Monu</h5>
<p>To configure Monu, click 'Open Config Folder' and open 'config.json' in a text editor. When you save and return to Monu your new configuration will be automatically loaded.</p>
<p>Be sure your JSON syntax is valid when editing the configuration. Here are supported options. These should be added as top level key/value pairs to 'config.json':</p>
<ul>
<li><b>processes</b> the processes to run (see below)</li>
<li><b>logs</b> the directory to store logs in (default config/pids)</li>
<li><b>pids</b> the directory to store PIDs in (default config/logs)</li>
<li><b>on-error</b> a command to run when a process cannot start (default none)</li>
<li><b>on-restart</b> a command to run when a process restarts (default none)</li>
<li><b>sleep</b> sleep seconds before re-executing (default 1)</li>
<li><b>attempts</b> restart attempts within 60 seconds before stopping app (default 10)</li>
<li><b>prefix</b> add a string prefix to the log (default none)</li>
</ul>
<h5>Adding Processes</h5>
<p>In the 'config.json' file add processes to the 'processes' key. The key must be a name (lowercase letters and hypens) and the value must be the launch command. For example:<p>
<pre><code>{
"logs": "./logs",
"pids": "./pids",
"processes": {
"web-1": "http-server . -p 8081",
"web-2": "http-server . -p 8082",
"web-3": "http-server . -p 8083"
}
}</code></pre>
<h5>Launch on Startup</h5>
<p>When you open Monu.app, it will start all configured processes.</p>
<p>If you would like Monu.app to start when your Mac starts up, got to <b>System Preferences > Users and Groups</b> and add Monu.app to <b>Login Items</b> for your User.</p>
<h5>About</h5>
<p>Monu is a portmanteau of 'monitor' and 'menu'. It has two C/C++ dependencies, Electron and the Mon process monitor.</p>
<p>If you find bugs, want to send pull requests, or want the source code visit https://github.com/maxogden/monu</p>
</div>