Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joenas/picomin

Smaller than tiny server admin web-gui. Yeah.
https://github.com/joenas/picomin

Last synced: 29 days ago
JSON representation

Smaller than tiny server admin web-gui. Yeah.

Awesome Lists containing this project

README

        

# Pico sized web admin

Basically I use this at home to restart a few services when I'm to lazy to ssh to my media center.

# Usage

```yaml
# Add services to config/config.yml
---
- id: 1
name: Sixad
bin: sixad
commands:
running:
stop: sudo service sixad stop
restart: sudo service sixad restart
not_running:
start: sudo service sixad start
- id: 2
name: MPD
bin: mpd
commands:
running:
stop: kill -15 %{pid}
not_running:
```

```bash
# Start the server
thin start
```

# Foreman

```bash
gem install foreman
sudo $(rbenv which foreman) export upstart /etc/init -a picomin -u YOURUSER -l SOMELOGPATH
# or rbenv-sudo if you have
```

# V8

```
brew install [email protected]
bundle config build.libv8 --with-system-v8
bundle config build.therubyracer --with-v8-dir=$(brew --prefix [email protected])
bundle install
gem install therubyracer -- --with-v8-dir=/usr/local/opt/[email protected]
```