No Description

Philippe Caseiro c6e9107fa5 Begin of Real screen management 10 months ago
handlers c6e9107fa5 Begin of Real screen management 10 months ago
templates c6e9107fa5 Begin of Real screen management 10 months ago
themes b080a98119 Adding first try on Web UI ... 10 months ago
utils c6e9107fa5 Begin of Real screen management 10 months ago
.gitignore 57e96509fb Update gitignore 11 months ago
LICENSE cc5bab6f47 Initial commit 11 months ago
Makefile 24e070724b Don't try to halt localhost ! 11 months ago
README.md 5bd02ed6fd Adding some kind of Makefile 11 months ago
hotdog.service 2dd6ac47c5 Updating application with a welcome page 11 months ago
main.go c6e9107fa5 Begin of Real screen management 10 months ago
modd.conf f93e9fe6d0 Adding modd configuration 11 months ago
test.sh e6455fc68d Ajout de la route "/reboot" pour relancer les soldats 11 months ago

README.md

HotDog

Simple and stupid os manager Just run simple actions on a host with an REST API We just need to poweroff some RPI ...

How to use it with raspbian

  • Build :

GOARCH=arm GOARM=7 go build -v -o hotdog main.go or make rpi

  • Update the Key in the systemd configuration file ... (yes yes it will change someday)
  • Deploy the systemd script and the binary on the host (use SSH ... or something)
  • Start the service !

  • Use a web browser or curl or whatever

API :

http://HOST_IP:4242/halt?SecretKey=YOUR_KEY_AS_IN_INIT_CONFIGURATION

... result ===> The host will shutdown !