-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnfpm.yaml
68 lines (62 loc) · 1.66 KB
/
nfpm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: tedge-container-plugin
arch: all
platform: linux
version: ${SEMVER}
section: misc
priority: optional
maintainer: Reuben Miller <[email protected]>
description: thin-edge.io container plugin for container software management and monitoring
vendor: thin-edge.io
homepage: https://github.com/reubenmiller/tedge-container-plugin
license: MIT
scripts:
preremove: ./src/monitor/scripts/pre-remove
postinstall: ./src/monitor/scripts/post-install
postremove: ./src/monitor/scripts/post-remove
apk:
# Use noarch instead of "all"
arch: noarch
contents:
- src: ./src/container
dst: /etc/tedge/sm-plugins/container
file_info:
mode: 0755
owner: tedge
group: tedge
- src: ./src/container-group
dst: /etc/tedge/sm-plugins/container-group
file_info:
mode: 0755
owner: tedge
group: tedge
- src: ./src/monitor/tedge-container-monitor
dst: /usr/bin/tedge-container-monitor
file_info:
mode: 0755
owner: tedge
group: tedge
- src: ./src/container-cli
dst: /usr/bin/container-cli
file_info:
mode: 0755
owner: root
group: root
- src: ./src/monitor/env
dst: /etc/tedge-container-plugin/env
type: config|noreplace
file_info:
mode: 0644
owner: tedge
group: tedge
- src: ./src/monitor/services/systemd/tedge-container-monitor.service
dst: /usr/lib/systemd/system/tedge-container-monitor.service
file_info:
mode: 0644
owner: tedge
group: tedge
- src: ./src/monitor/services/init.d/tedge-container-monitor
dst: /etc/init.d/tedge-container-monitor
file_info:
mode: 0755
owner: tedge
group: tedge