aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-25 10:10:42 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-25 10:10:42 -0700
commit2c1a4d083b1a0a01c2d552123920783fafa509ca (patch)
tree3f7eeb575651aee961c2b256b8045fcc3604dd59 /go.mod
parentscrobbler: read mpd status before processing song (diff)
downloadx-2c1a4d083b1a0a01c2d552123920783fafa509ca.tar.gz
scrobbler: add a systemd unit file
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.
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions