-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
homer-app.yaml
48 lines (48 loc) · 1.15 KB
/
homer-app.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
# nfpm example config file
name: "homer-app"
arch: "amd64"
platform: "linux"
version: "v${VERSION}"
section: "default"
priority: "extra"
replaces:
- homer-app
provides:
- homer-app
#depends:
#- telegraf
# recommends on rpm packages requires rpmbuild >= 4.13
#recommends:
#- whatever
# suggests on rpm packages requires rpmbuild >= 4.13
#suggests:
#- something-else
#conflicts:
#- not-foo
#- not-bar
maintainer: "QXIP SIPCapture <[email protected]>"
description: |
HOMER 7 WebAPP + API
vendor: "QXIP"
homepage: "http://qxip.net"
license: "AGPLv3"
contents:
# Basic file that applies to all packagers
- src: /tmp/pkg/homer-app
dst: /usr/local/bin/homer-app
- src: /tmp/pkg/log/.keepme
dst: /usr/local/homer/log/.keepme
- src: /tmp/pkg/dist/**/*
dst: /usr/local/homer/dist
- src: /tmp/pkg/dist/*
dst: /usr/local/homer/dist
# Simple config file
- src: /tmp/pkg/homer-app.service
dst: /lib/systemd/system/homer-app.service
type: config
- src: /tmp/pkg/swagger.json
dst: /usr/local/homer/etc/swagger.json
type: config
- src: /tmp/pkg/etc/webapp_config.json
dst: /usr/local/homer/etc/webapp_config.json
type: config