about summary refs log tree commit diff
path: root/tools/mpd-stats/systemd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scrobbler: add a systemd unit fileFranck Cuny2022-06-111-0/+43
As I want the scrobbler to be started automatically when I log into my session, the easiest way to do this is by having a systemd unit file that I run for my own user. The unit expects that the binary for the scrobbler is under my $GOPATH, which is hard coded for now. We also ensure that the binary exists before starting the unit. We harness the service with a number of directives.