2 .\" Copyright (C) 2004, 2005, 2007 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. The default is
33 .IR pkgconfdir/config .
35 .BR disorder_config (5)
36 for further information.
38 .B --pidfile \fIPATH\fR, \fB-P \fIPATH
41 .B --foreground\fR, \fB-f
42 Run in the foreground. (By default,
44 detaches from its terminal and runs in the background.)
47 Log to syslog. This is the default if DisOrder runs in the background.
53 Display a usage message.
55 .B --version\fR, \fB-V
56 Display version number.
58 For configuration file documentation, see
59 .BR disorder_config (5).
61 The first time a new install of DisOrder is started it will run
63 to pick up new tracks. On subsequent server restarts it will NOT do
64 this automatically; if you want a rescan at every restart you must
65 arrange that manually.
67 There is however an automatic rescan once every 24 hours.
69 A \fBroot\fR login is automatically created on startup if it does not
70 exist. If \fBdisorder\fR(1) is run as root on the same machine as the
71 server it is capable of extracting the password from the database
75 is locale-aware. If you do not set the locale correctly then it may
76 not handle non-ASCII data properly.
78 Filenames and the configuration file are assumed to be encoded using the
79 current locale. Internally (within the server, in the database and in
80 communication between client and server) the UTF-8 encoding is used.
82 DisOrder uses Berkeley DB but currently discards log files that are no longer
83 in use. This means that DB's catastrophic recovery cannot be used (normal
84 recovery can be used, and indeed the server does this automatically on
87 It is suggested that instead you just back up the output of
88 .BR disorder-dump (8),
89 which saves only the parts of the database that cannot be regenerated
90 automatically, and thus has relatively modest storage requirements.
94 Re-read the configuration file.
97 Terminate the daemon gracefully.
100 Terminate the daemon gracefully.
102 It may be more convenient to perform these operations from the client
107 Global configuration file. See \fBdisorder_config\fR(5).
109 .I pkgconfdir/config.private
110 Private configuration (usernames and passwords).
112 .I ~/.disorder/passwd
113 Per-user password file.
116 Saved copy of queue. Do not edit while the daemon is running.
118 .I pkgstatedir/recent
119 Saved copy of recently played track list.
120 Do not edit while the daemon is running.
122 .I pkgstatedir/prefs.db
123 Preferences database.
125 .I pkgstatedir/global.db
126 Global preferences database.
128 .I pkgstatedir/search.db
129 Search lookup database.
131 .I pkgstatedir/tags.db
134 .I pkgstatedir/tracks.db
137 .I pkgstatedir/DB_CONFIG
138 Berkeley DB configuration file. This may be used to override database
139 settings without recompiling DisOrder. See the Berkeley DB
140 documention for further details.
142 .I pkgstatedir/log.* \fRand \fIpkgstatedir/__db.*
143 Database internal files.
145 .I pkgstatedir/socket
146 Communication socket for \fBdisorder\fR(1).
149 Lockfile. This prevents multiple instances of DisOrder running
153 .B LC_ALL\fR, \fBLANG\fR, etc
154 Current locale. See \fBlocale\fR(7).
156 \fBdisorder\fR(1), \fBdisorder_config\fR(5), \fBdisorder-dump\fR(8)