summarylogtreecommitdiffstats
path: root/openvas.install
blob: a8f522919efaa89b873825cc7df1b1d0f34e0ed4 (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
post_install() {
    chown -R gvm:gvm /etc/openvas

    echo
    echo "##########################################################"
    echo "#         Before starting to use openvas run the         #"
    echo "#         following post installation tasks:             #"
    echo "##########################################################"
    echo '# echo "net.core.somaxconn = 1024" >> /etc/sysctl.conf   #'
    echo '# echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf    #'
    echo "# sysctl -p                                              #"
    echo "#                                                        #"
    echo "# systemctl start greenbone-nvt-sync                     #"
    echo "##########################################################"
    echo
    echo "##########################################################"
    echo "#         To frequently synchronize the data             #"
    echo "#         you can enable the daily timers:               #"
    echo "##########################################################"
    echo "# systemctl enable --now greenbone-nvt-sync.timer        #"
    echo "##########################################################"
    echo
 }

post_upgrade() {
    post_install
}