summaryrefslogtreecommitdiffstats
path: root/abs/core/lighttpd/lighttpd.install
blob: 3526b712833f496d4b1ad6027756abd91722d048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    if [[ ! -d run/lighttpd ]]; then
        usr/bin/systemd-tmpfiles --create lighttpd.conf
    fi

    echo "Generate lighttpd include..."
    gen_light_include.py
    echo "Forcing a re-read of lighttpd's configuration file..."
    /sbin/sv hup /service/lighttpd
}

post_upgrade() {
    post_install
}