summarylogtreecommitdiffstats
path: root/cellframe-node.install
blob: ee49fe2eae67705679286f0b125aa45f28f836b4 (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
showmsg() {
BOLD=$(tput bold)
NORMAL=$(tput sgr0)

echo -e "
${BOLD}NODE CONFIGURATION FILES${NORMAL}

    By default, no configuration files are provided. For enabling sane default configuration, run:

    ${BOLD}sudo -u cellframe /opt/cellframe-node/bin/cellframe-node-config -i /opt/cellframe-node/share/default.setup${NORMAL}
    
${BOLD}STARTING CELLFRAME NODE${NORMAL}

    Use the provided systemd unit file and launch node with:

    ${BOLD}sudo systemctl enable --now cellframe-node.service
    
${BOLD}RUNNING A MASTERNODE${NORMAL}

    View the prerequisites and instructions at:

    ${BOLD}https://wiki.cellframe.net/02.+Learn/Cellframe+Node/Master+Node+Manual+Setup${NORMAL}\n"
}

post_install() {
    showmsg
}

post_upgrade() {
    showmsg
}