summaryrefslogtreecommitdiffstats
path: root/abs/extra/shellinabox/shellinaboxd.install
blob: 466ba3cde53338ed930ca695bf6f0e7a1cefa004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    echo "Create link to linhes.pem..."
    ln -s /etc/lighttpd/linhes.pem /etc/lighttpd/certificate.pem
    echo "Start runit service for shellinaboxd..."
    add_service.sh shellinaboxd
}

post_upgrade() {
    post_install
}

post_remove() {
    echo "Remove link to linhes.pem..."
    rm /etc/lighttpd/certificate.pem
    echo "Remove runit service for shellinaboxd..."
    remove_service.sh shellinaboxd    
}