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/tgnotify/items.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bundles/tgnotify/items.py (limited to 'bundles/tgnotify/items.py') diff --git a/bundles/tgnotify/items.py b/bundles/tgnotify/items.py new file mode 100644 index 0000000..b428d54 --- /dev/null +++ b/bundles/tgnotify/items.py @@ -0,0 +1,17 @@ +if node.os != "alpine": + raise BundleError(f"{node.name}: OS {node.os} is not supported.") + +from os.path import join + +files = { + "/usr/bin/tgnotify": { + "source": "tgnotify", + "mode": "0755", + }, + "/etc/tgnotify.conf": { + "source": "tgnotify.conf", + "content_type": "mako", + "mode": "0640", + "group": "wheel", + } +} -- cgit 1.4.1