-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnfpm.yaml
More file actions
36 lines (33 loc) · 863 Bytes
/
Copy pathnfpm.yaml
File metadata and controls
36 lines (33 loc) · 863 Bytes
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
name: "kprobe"
arch: "${GOARCH}"
platform: "linux"
version: "${PKG_BASE_VERSION}"
prerelease: "${PKG_PRERELEASE}"
maintainer: "Karel Cermak <info@karlosoft.com>"
description: "KProbe Extension"
license: "MIT"
vendor: "Karlosoft"
contents:
- src: ./bin/api-server
dst: /opt/kprobe/api-server
file_info:
mode: 0755
- src: ./bin/cli
dst: /opt/kprobe/cli
file_info:
mode: 0755
- src: ./web-editor/editor.html
dst: /opt/kprobe/editor.html
file_info:
mode: 0644
- src: ./package/kprobe.service
dst: /etc/systemd/system/kprobe.service
- src: ./package/99-ping.conf
dst: /etc/sysctl.d/99-ping.conf
- src: /opt/kprobe/cli
dst: /usr/local/bin/kprobe
type: symlink
scripts:
postinstall: ./package/scripts/postinst.sh
preremove: ./package/scripts/prerm.sh
postremove: ./package/scripts/postrm.sh