forked from FeatureBaseDB/featurebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nfpm.yaml
48 lines (47 loc) · 1.4 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
name: "featurebase"
arch: "${GOARCH}"
version: "${VERSION}"
section: "default"
priority: "extra"
maintainer: "Molecula Corp. <info@molecula.com>"
description: "FeatureBase is a feature extraction and storage technology that enables real-time analytics."
vendor: "Molecula"
homepage: "https://molecula.com"
contents:
- src: ./featurebase
dst: /usr/bin/featurebase
- src: ./fbsql
dst: /usr/bin/fbsql
- src: ./install/featurebase.conf
dst: /etc/featurebase/featurebase.conf
type: config|noreplace
file_info:
owner: featurebase
group: featurebase
- src: ./install/featurebase.redhat.service
dst: /usr/lib/systemd/system/featurebase.service
packager: rpm
- src: ./install/featurebase.debian.service
dst: /lib/systemd/system/featurebase.service
packager: deb
- dst: /var/log/molecula # We use vendor name on log directory in case other molecula components need it.
type: dir
file_info:
mode: 0755
owner: featurebase
group: featurebase
- dst: /var/lib/featurebase
type: dir
file_info:
mode: 0755
owner: featurebase
group: featurebase
- dst: /etc/featurebase # Keeping the config writable by the featurebase user is necessary for the agent.
type: dir
file_info:
mode: 0755
owner: featurebase
group: featurebase
scripts:
preinstall: ./install/preinstall.sh
postinstall: ./install/postinstall.sh