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

    #adjust permissions of /data/storage/disk0/media/tmp/
    chmod 1777 /data/storage/disk0/media/tmp/

    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
}