diff options
author | Franck Cuny <franck@fcuny.net> | 2021-10-25 10:27:21 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-06-11 14:32:09 -0700 |
commit | 21d1a6ac18a2a7a9e6ead754d261eb2cbc89ca10 (patch) | |
tree | 72886045d70596493970707c59bc0cabc4d50583 /tools | |
parent | build: install the binary and systemd unit (diff) | |
download | world-21d1a6ac18a2a7a9e6ead754d261eb2cbc89ca10.tar.gz |
doc: update README with instruction for installing
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 |