From 38be6c13f76e893cf47636257071b440dec0c5b2 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 7 Sep 2025 17:32:13 +0200 Subject: initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/go-away/items.py | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 bundles/go-away/items.py (limited to 'bundles/go-away/items.py') diff --git a/bundles/go-away/items.py b/bundles/go-away/items.py new file mode 100644 index 0000000..904b922 --- /dev/null +++ b/bundles/go-away/items.py @@ -0,0 +1,41 @@ + +# local_deploy = { +# "/usr/bin/go-away": { +# "command": "make build", +# "cwd": "/home/robert/src/go-away", +# "artifact": "go-away", +# "content_hash": "335fc3b7868f3610dbe8397021501c465ee2627c", +# }, +# } + +directories = { + "/var/lib/go-away": { + "mode": "0775", + "group": "wheel", + "owner": "nobody", + }, +} + +files = { + "/etc/service/go-away.run": { + "content_type": "mako", + "mode": "0755", + "triggers": {"svc_s6rc:go-away:restart"}, + }, + + "/etc/traefik/go-away.yaml": { + "content_type": "mako", + "source": "traefik.yaml", + "needs": { + "bundle:traefik", + }, + }, + +} + +svc_s6rc = { + "go-away": { + "bundle": "services", + "generate": "service", + } +} -- cgit 1.4.1