diff options
| author | Franck Cuny <franck@fcuny.net> | 2021-10-25 10:27:21 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2021-10-25 10:27:21 -0700 |
| commit | de9465cbf8bc9afd5e4452dfe79809b173418b11 (patch) | |
| tree | 29f7869e1811ab1837f337db15cae88bf3f548ea /README.org | |
| parent | build: install the binary and systemd unit (diff) | |
| download | x-de9465cbf8bc9afd5e4452dfe79809b173418b11.tar.gz | |
doc: update README with instruction for installing
Diffstat (limited to '')
| -rw-r--r-- | README.org | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |
