summarylogtreecommitdiffstats
path: root/alist.install
blob: 6f4dfb677091a48e66f4efe76442fbc1aae26fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_upgrade(){
    echo "from alist 3.24.0, 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"
}