Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joenas/picomin
Smaller than tiny server admin web-gui. Yeah.
https://github.com/joenas/picomin
Last synced: about 2 months ago
JSON representation
Smaller than tiny server admin web-gui. Yeah.
- Host: GitHub
- URL: https://github.com/joenas/picomin
- Owner: joenas
- Created: 2013-03-09T22:32:36.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2020-03-17T13:19:06.000Z (almost 5 years ago)
- Last Synced: 2024-10-15T14:26:39.794Z (2 months ago)
- Language: CSS
- Size: 126 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]
```