-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f48715
commit c4f0f11
Showing
17 changed files
with
142 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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, Atom Shell 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> |
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,7 @@ | ||
{ | ||
"logs": "./logs", | ||
"pids": "./pids", | ||
"processes": { | ||
|
||
} | ||
} |
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,9 @@ | ||
[33mStarting up http-server, serving [39m[36m.[39m[33m on port: [39m[36m8080[39m | ||
Hit CTRL-C to stop the server | ||
mon : write mon pid to /Users/maxogden/src/js/monu/config/pids/web-1.mon.pid | ||
mon : child 13973 | ||
mon : write pid to /Users/maxogden/src/js/monu/config/pids/web-1.pid | ||
mon : shutting down | ||
mon : kill(-13972, 3) | ||
mon : waiting for exit | ||
mon : bye :) |
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,9 @@ | ||
[33mStarting up http-server, serving [39m[36m.[39m[33m on port: [39m[36m8086[39m | ||
Hit CTRL-C to stop the server | ||
mon : write mon pid to /Users/maxogden/src/js/monu/config/pids/web-2.mon.pid | ||
mon : child 13975 | ||
mon : write pid to /Users/maxogden/src/js/monu/config/pids/web-2.pid | ||
mon : shutting down | ||
mon : kill(-13974, 3) | ||
mon : waiting for exit | ||
mon : bye :) |
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,9 @@ | ||
[33mStarting up http-server, serving [39m[36m.[39m[33m on port: [39m[36m8090[39m | ||
Hit CTRL-C to stop the server | ||
mon : write mon pid to /Users/maxogden/src/js/monu/config/pids/web-3.mon.pid | ||
mon : child 13977 | ||
mon : write pid to /Users/maxogden/src/js/monu/config/pids/web-3.pid | ||
mon : shutting down | ||
mon : kill(-13976, 3) | ||
mon : waiting for exit | ||
mon : bye :) |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.