eldoy / waveorb-server

Waveorb server
MIT License
1 stars 0 forks source link

Support different app types #25

Closed eldoy closed 2 weeks ago

eldoy commented 2 weeks ago

There are several app types we'd like to deploy:

In waveorb.json can we add an 'apptype' field?

{
  "apptype": "web",
  "apptype": "service",
  "apptype": "lib"
}

Apptype "web" is the default. Apptype "service" is used for local API's or runners that need systemd.

Apptype "lib" is used for cron scripts, maintenance over SSH etc... they are just functions that can be invoked.