summarylogtreecommitdiffstats
path: root/alist.install
blob: 8e9f0d9aebc831e032813c74de946a3c8d644fcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_upgrade(){
    echo "from alist 3.9.2-3, the alist user is used to run this service"
    echo "if you are upgrading from a previous version"
    echo "you have to run  the following commands in green only once"

    echo -e "\e[32m sudo chown -R alist:alist /var/lib/alist \e[0m"
    echo -e "\e[32m sudo chown -R alist:alist /var/log/alist \e[0m"
    echo -e "\e[32m sudo chown -R alist:alist /etc/alist \e[0m"
    echo -e "\e[32m sudo chown -R alist:alist /var/cache/alist \e[0m"

    echo "and chown any other local files that are served by alist"
}