feat: Support garage_s3 installer

- Added a new config template file to be loaded when starting the server
- Run the server in zinit as a service
- Fix the install, destroy, installed, and running functions
This commit is contained in:
Mahmoud Emad
2025-02-16 11:10:17 +00:00
parent a57f53fdb4
commit d604d739e3
8 changed files with 342 additions and 386 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import freeflowuniverse.herolib.installers.sysadmintools.garage_s3 as garage_s3_installer
mut garage_s3 := garage_s3_installer.get()!
garage_s3.install()!
garage_s3.start()!
garage_s3.destroy()!