diff options
author | Franck Cuny <franck@fcuny.net> | 2021-10-25 10:10:42 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-06-11 14:32:09 -0700 |
commit | 2a354d6e9f20576d2050971fbc71f031142fc19b (patch) | |
tree | 4915123e7b261bec000070084f9d27e9dfe9e7d3 /flake.nix | |
parent | scrobbler: read mpd status before processing song (diff) | |
download | world-2a354d6e9f20576d2050971fbc71f031142fc19b.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 'flake.nix')
0 files changed, 0 insertions, 0 deletions