diff options
| author | Robert Günzler <r@gnzler.io> | 2025-09-07 17:32:13 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-09-07 17:42:42 +0200 |
| commit | 38be6c13f76e893cf47636257071b440dec0c5b2 (patch) | |
| tree | f7ded3235a7e3362cbd1ed3d91523968fe0faf90 /bundles/tgnotify/items.py | |
initial commit
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/tgnotify/items.py')
| -rw-r--r-- | bundles/tgnotify/items.py | 17 |
1 files changed, 17 insertions, 0 deletions
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", + } +} |