2 .\" Copyright (C) 2004, 2005, 2007, 2008 Richard Kettlewell
4 .\" This program is free software; you can redistribute it and/or modify
5 .\" it under the terms of the GNU General Public License as published by
6 .\" the Free Software Foundation; either version 2 of the License, or
7 .\" (at your option) any later version.
9 .\" This program is distributed in the hope that it will be useful, but
10 .\" WITHOUT ANY WARRANTY; without even the implied warranty of
11 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 .\" General Public License for more details.
14 .\" You should have received a copy of the GNU General Public License
15 .\" along with this program; if not, write to the Free Software
16 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 disorderd \- DisOrder jukebox daemon
27 is a daemon which plays audio files and services requests from users
28 concerning what is to be played.
31 .B \-\-config \fIPATH\fR, \fB\-c \fIPATH
32 Set the configuration file.
34 .IR pkgconfdir/config .
36 .BR disorder_config (5)
37 for further information.
39 .B \-\-pidfile \fIPATH\fR, \fB\-P \fIPATH
42 .B \-\-foreground\fR, \fB\-f
43 Run in the foreground.
46 detaches from its terminal and runs in the background.)
48 .B \-\-syslog\fR, \fB\-s
50 This is the default if DisOrder runs in the background.
52 .B \-\-debug\fR, \fB\-d
55 .B \-\-help\fR, \fB\-h
56 Display a usage message.
58 .B \-\-version\fR, \fB\-V
59 Display version number.
61 For configuration file documentation, see
62 .BR disorder_config (5).
64 The first time a new install of DisOrder is started it will run
66 to pick up new tracks.
67 On subsequent server restarts it will NOT do
68 this automatically; if you want a rescan at every restart you must
69 arrange that manually.
71 There is however an automatic rescan once every 24 hours.
73 A \fBroot\fR login is automatically created on startup if it does not
75 If \fBdisorder\fR(1) is run as root on the same machine as the
76 server it is capable of extracting the password from the database
81 If you do not set the locale correctly then it may not handle
82 non-ASCII data properly.
84 Filenames and the configuration file are assumed to be encoded using the
86 Internally (within the server, in the database and in
87 communication between client and server) the UTF-8 encoding is used.
89 DisOrder uses Berkeley DB but currently discards log files that are no longer
91 This means that DB's catastrophic recovery cannot be used (normal
92 recovery can be used, and indeed the server does this automatically on
95 It is suggested that instead you just back up the output of
96 .BR disorder\-dump (8),
97 which saves only the parts of the database that cannot be regenerated
98 automatically, and thus has relatively modest storage requirements.
102 Re-read the configuration file.
105 Terminate the daemon gracefully.
108 Terminate the daemon gracefully.
110 It may be more convenient to perform these operations from the client
115 Global configuration file.
116 See \fBdisorder_config\fR(5).
118 .I pkgconfdir/config.private
119 Private configuration (usernames and passwords).
121 .I ~/.disorder/passwd
122 Per-user password file.
126 Do not edit while the daemon is running.
128 .I pkgstatedir/recent
129 Saved copy of recently played track list.
130 Do not edit while the daemon is running.
132 .I pkgstatedir/prefs.db
133 Preferences database.
135 .I pkgstatedir/global.db
136 Global preferences database.
138 .I pkgstatedir/search.db
139 Search lookup database.
141 .I pkgstatedir/tags.db
144 .I pkgstatedir/tracks.db
147 .I pkgstatedir/DB_CONFIG
148 Berkeley DB configuration file.
149 This may be used to override database settings without recompiling
151 See the Berkeley DB documention for further details.
153 .I pkgstatedir/log.* \fRand \fIpkgstatedir/__db.*
154 Database internal files.
156 .I pkgstatedir/socket
157 Communication socket for \fBdisorder\fR(1).
161 This prevents multiple instances of DisOrder running simultaneously.
164 .B LC_ALL\fR, \fBLANG\fR, etc
168 \fBdisorder\fR(1), \fBdisorder_config\fR(5), \fBdisorder\-dump\fR(8),
169 \fBdisorder.cgi\fR(8)