diff options
author | Bartłomiej Piotrowski | 2018-01-06 20:16:34 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski | 2018-01-06 20:16:34 +0100 |
commit | 93583b7eb5ad23bb1281b4f84e2ff0ab1658869b (patch) | |
tree | 780db6dfc786c9dda6feece62fc5037a4d6ec215 /gnump3d.install | |
download | aur-gnump3d.tar.gz |
Import from official repositories
Diffstat (limited to 'gnump3d.install')
-rw-r--r-- | gnump3d.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnump3d.install b/gnump3d.install new file mode 100644 index 000000000000..78d9104e0076 --- /dev/null +++ b/gnump3d.install @@ -0,0 +1,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 +} + + |