-
Notifications
You must be signed in to change notification settings - Fork 5
/
INSTALL
36 lines (26 loc) · 968 Bytes
/
INSTALL
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
26
27
28
29
30
31
32
33
34
35
36
Installation
============
1. Run ``./setup.py install`` as usual.
2. Create a user/group for the daemon(s) (I use lastfm:lastfm), and
the following directories:
* ``/var/log/lastfm``
* ``/var/run/lastfm``
* ``/var/spool/lastfm``
Make them writable by whatever user (or group) is going to be running
the daemon(s) and/or music players. ``doc/install-example.sh`` shows
how this should be done on most systems.
3. Create a configuration file, ``/etc/lastfmsubmitd.conf``. This is a
regular Python ConfigParser file, and should look like::
[account]
user: decklin
password: ********
It can also optionally contain any of these sections:
[server]
url = http://post.audioscrobbler.com/
[daemon]
sleep_time: 5
debug: False
[paths]
log: /var/log/lastfm/lastfm.log
pidfile: /var/run/lastfm/daemon_name.pid
spool: /var/spool/lastfm