https://github.com/banool/control_panel
Control panel for doing things with my server without SSHing in
https://github.com/banool/control_panel
Last synced: about 1 year ago
JSON representation
Control panel for doing things with my server without SSHing in
- Host: GitHub
- URL: https://github.com/banool/control_panel
- Owner: banool
- Created: 2022-01-07T00:57:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T12:49:47.000Z (over 2 years ago)
- Last Synced: 2025-03-14T23:43:22.684Z (over 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Control Panel
This is a basic web UI attached to a systemd backend for starting and stopping systemd services.
It also exposes some information about the timers for the status page to use: https://github.com/banool/status. The status for all timers is `AND`ed and made available at `/timers_overall`, which can then be plugged into the uptime monitor to check whether the timers are working.
## Local development
First, install pystemd. Pretty much just follow the guide here: https://github.com/facebookincubator/pystemd.
Then, do this:
```
PORT=9991 UNITS_TO_CONTROL=minecraft,factorio TIMER_UNITS_TO_IGNORE=shadow.service ./run.sh
```
## Deployment
Just use banool/server-setup.