about summary refs log tree commit diff
path: root/bundles/tgnotify/items.py
blob: b428d549a6562ccb998a22fdc5f1d580565db9af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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",
    }
}