-
Notifications
You must be signed in to change notification settings - Fork 1
/
nfpm.yaml
91 lines (79 loc) · 1.68 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: pal
arch: ${ARCH}
platform: linux
version: ${VERSION}
version_schema: semver
epoch: 2
prerelease: alpha1
section: default
priority: extra
maintainer: https://github.com/marshyski
description: A simple API and UI for executing and scheduling system commands or scripts. Great for webhooks and automating Linux server operations over HTTPS contained in a small binary.
vendor: https://github.com/marshyski
homepage: https://github.com/marshyski/pal
license: Apache 2.0
mtime: "2009-11-10T23:00:00Z"
umask: 0o002
scripts:
preinstall: ./pkg-install.sh
rpm:
compression: zstd
deb:
compression: zstd
contents:
- dst: /pal
type: dir
file_info:
mode: 0700
owner: pal
group: pal
- dst: /pal/upload
type: dir
file_info:
mode: 0700
owner: pal
group: pal
- dst: /etc/pal
type: dir
file_info:
mode: 0700
owner: pal
group: pal
- dst: /etc/pal/actions
type: dir
file_info:
mode: 0700
owner: pal
group: pal
- dst: /etc/pal/pal.db
type: dir
file_info:
mode: 0700
owner: pal
group: pal
- src: ./pal
dst: /pal/pal
file_info:
mode: 0755
owner: pal
group: pal
- src: /pal/pal
dst: /usr/bin/pal
type: symlink
- src: ./test/pal.yml
dst: /etc/pal/pal.yml
type: config|noreplace
file_info:
mode: 0600
owner: pal
group: pal
- src: ./pal.service
dst: /usr/lib/systemd/system/pal.service
type: config|noreplace
file_info:
mode: 0644
owner: pal
group: pal
- src: /usr/lib/systemd/system/pal.service
dst: /etc/systemd/system/multi-user.target.wants/pal.service
type: symlink