diff options
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", + } +} |