Quickstart
Get systemg running in 60 seconds.
Install
$ curl --proto '=https' --tlsv1.2 -fsSL https://sh.sysg.dev/ | sh
Create a configuration
version: "2"
services:
hello:
command: "python -m http.server 8080"
Save as systemg.yaml.
Start your service
$ sysg start --daemonize
Your web server is now running at http://localhost:8080.
Check status
$ sysg status
status opens the project-aware unit table. Use --format json for scripts.
View logs
$ sysg logs --service hello
Stop the project
$ sysg stop
This stops the project while leaving the resident supervisor ready for another
start. Use sysg stop --supervisor to shut down the supervisor itself.
What's next
- Configure multiple services with dependencies
- Run services in the background with
--daemonize - Set up automatic restarts for production