├── .gitignore
├── .travis.yml
├── LICENSE
├── about.html
├── app.png
├── collaborators.md
├── config.json
├── configure.js
├── configure.tmpl
├── css
├── ratchet-theme-android.css
├── ratchet-theme-android.min.css
├── ratchet-theme-ios.css
├── ratchet-theme-ios.min.css
├── ratchet.css
└── ratchet.min.css
├── detail.tmpl
├── fonts
├── ratchicons.eot
├── ratchicons.svg
├── ratchicons.ttf
└── ratchicons.woff
├── images
├── Icon.png
├── Icon@2x.png
└── Monu.icns
├── index.html
├── index.js
├── makefile
├── mon
├── notes.md
├── package.json
├── readme.md
└── screenshot.png
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
3 | test/meta
4 | Monu.app
5 | Monu.zip
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - '0.12'
4 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015, Max Ogden and contributors
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5 |
6 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
/about.html:
--------------------------------------------------------------------------------
1 |
10 |
11 |
What is Monu
12 |
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.
13 |
How to use Monu
14 |
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.
15 |
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':
16 |
17 | - processes the processes to run (see below)
18 | - logs the directory to store logs in (default config/pids)
19 | - pids the directory to store PIDs in (default config/logs)
20 | - on-error a command to run when a process cannot start (default none)
21 | - on-restart a command to run when a process restarts (default none)
22 | - sleep sleep seconds before re-executing (default 1)
23 | - attempts restart attempts within 60 seconds before stopping app (default 10)
24 | - prefix add a string prefix to the log (default none)
25 |
26 |
Adding Processes
27 |
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:
28 |
{
29 | "logs": "./logs",
30 | "pids": "./pids",
31 | "processes": {
32 | "web-1": "http-server . -p 8081",
33 | "web-2": "http-server . -p 8082",
34 | "web-3": "http-server . -p 8083"
35 | }
36 | }
37 |
Launch on Startup
38 |
When you open Monu.app, it will start all configured processes.
39 |
If you would like Monu.app to start when your Mac starts up, got to System Preferences > Users and Groups and add Monu.app to Login Items for your User.
40 |
About
41 |
Monu is a portmanteau of 'monitor' and 'menu'. It has two C/C++ dependencies, Electron and the Mon process monitor.
42 |
If you find bugs, want to send pull requests, or want the source code visit https://github.com/maxogden/monu
43 |
44 |
--------------------------------------------------------------------------------
/app.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/max-mapper/monu/b04718c3516842875251c126df4f8983f4e264ff/app.png
--------------------------------------------------------------------------------
/collaborators.md:
--------------------------------------------------------------------------------
1 | ## Collaborators
2 |
3 | monu is only possible due to the excellent work of the following collaborators:
4 |
5 |