summarylogtreecommitdiffstats
path: root/ampache.install
blob: d140698196d272581b3df12b338920174c06d66c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
post_install() {
	cat << EOF
==> If you want to use Ampache's transcoding and/or downsampling you'll
    need the packages specified in optdepends.
    Check out http://wiki.archlinux.org/index.php/Ampache and
    https://github.com/ampache/ampache/wiki/Transcoding for more info.
==> Please enable curl, iconv and pdo_mysql modules in php.ini.
==> Database will be upgraded automatically in case of update from 3.7.
    Check out https://github.com/ampache/ampache/wiki/Installation for
    more info about installation process.
==> An nginx example vhost in provided in /usr/share/doc/ampache/nginx-example.conf
    To use it, follow following instructions :
    * Copy the file to /etc/nginx/ampache.conf
    * Customize server_name directive using your FQDN
    * Add all your music local directories to open_basedir directive
    * Add this line to /etc/nginx/nginx.conf :
      include ampache.conf;
    * Reload nginx using : systemctl reload nginx
EOF
	/bin/true
}

post_upgrade() {
	post_install
}