summarylogtreecommitdiffstats
path: root/gnump3d.install
blob: 78d9104e0076a3152d94f1df0fda70c41f68ea34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# arg 1:  the new package version
post_install() {
    chown nobody:root /var/cache/gnump3d /var/cache/gnump3d/serving

    echo 
    echo "----[ NOTE ]----------------------------------------------------------"
    echo "| Before starting the server, edit /etc/gnump3d/gnump3d.conf to your |"
    echo "| liking. For instance, you will probably want to change the \"root\"  |"
    echo "| variable so that it points to your music collection.               |"
    echo "|                                                                    |"
    echo "| When the \"root\" variable is properly set, run                      |"
    echo "|     /usr/bin/gnump3d-index                                         |"
    echo "| This will create a database in /var/cache/gnump3d/ for gnump3d.    |"
    echo "|                                                                    |"
    echo "| Per default, the server runs as \"nobody\", which is a Good Thing.   |"
    echo "|                                                                    |"
    echo "| To make the server start on boot, add \"gnump3d\" to the DAEMONS     |"
    echo "| array in /etc/rc.conf.                                             |"
    echo "----------------------------------------------------------------------"
    echo
}