blob: 5795c9476f822c2984547396ab461466df2c75f4 (
plain)
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
|
_bn_user=obelisk
_bn_group=obelisk
post_install() {
chown -R $_bn_user:$_bn_group /etc/obelisk /srv/obelisk /var/log/obelisk
printf "%b\n" "$obelisk"
}
post_upgrade() {
post_install
}
post_remove() {
rm -rf /etc/obelisk /srv/obelisk /var/log/obelisk
}
read -d '' obelisk <<'EOF'
########################################################################
########################################################################
## ##
## Libbitcoin Node ##
## _______________ ##
## ##
## To run: ##
## ##
## systemctl start bn-init # first run only ##
## systemctl start bn ##
## ##
## ##
## Config: /etc/obelisk/bn/bn.cfg ##
## Blockchain: /srv/obelisk ##
## Documentation: /usr/share/doc/libbitcoin-node ##
## Logs: /var/log/obelisk/bn ##
## ##
########################################################################
########################################################################
EOF
|