forked from housepower/ckman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnfpm.yaml
64 lines (64 loc) · 1.63 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
# nfpm example config file
#
# check https://nfpm.goreleaser.com/configuration.html for detailed usage
#
name: "ckman"
arch: "amd64"
platform: "linux"
version: "trunk"
section: "default"
priority: "extra"
provides:
- ckman
- ckmanpasswd
- schemer
- rebalancer
- purger
- exporter
maintainer: "Zhichang Yu <[email protected]>"
description: |
ckman is a tool which used to manage and monitor ClickHouse database
vendor: "EOI"
license: "MIT"
contents:
- src: ./ckman
dst: /usr/local/bin/ckman
- src: ./rebalancer
dst: /usr/local/bin/rebalancer
- src: ./ckmanpasswd
dst: /usr/local/bin/ckmanpasswd
- src: ./schemer
dst: /usr/local/bin/schemer
- src: ./purger
dst: /usr/local/bin/purger
- src: ./exporter
dst: /usr/local/bin/exporter
- src: ./README.md
dst: /etc/ckman/package/README.md
- src: ./resources/config.xml
dst: /etc/ckman/template/config.xml
type: config
- src: ./resources/users.xml
dst: /etc/ckman/template/users.xml
type: config
- src: ./resources/ckman.yaml
dst: /etc/ckman/conf/ckman.yaml
type: config|noreplace
- src: ./resources/password
dst: /etc/ckman/conf/password
type: config|noreplace
- src: ./resources/server.key
dst: /etc/ckman/conf/server.key
type: config|noreplace
- src: ./resources/server.crt
dst: /etc/ckman/conf/server.crt
type: config|noreplace
- src: ./resources/ckman.service
dst: /etc/systemd/system/ckman.service
type: config
- src: /usr/local/bin/ckman
dst: /sbin/ckman
type: symlink
- src: /etc/systemd/system/ckman.service
dst: /etc/systemd/system/multi-user.target.wants/ckman.service
type: symlink