diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mpd-stats/README.org | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/mpd-stats/README.org b/tools/mpd-stats/README.org index 8765e59..8c0a7d9 100644 --- a/tools/mpd-stats/README.org +++ b/tools/mpd-stats/README.org @@ -12,3 +12,11 @@ Collect logs from mpd. A log record is composed of the following fields: - date: date the song was played The logs are recorded in a database (sqlite3 to start). +* Install +The Makefile assumes the system is running Linux and systemd. + +Run =make install=. This will: +- install the binary in your =GOPATH= (using =go install=) +- install a systemd unit file under =$HOME/.config/systemd/user= +- reload systemd unit files +- start the service |