0a30138c69
This allows `systemctl --user restart mpd.socket` to work properly.
13 lines
507 B
Desktop File
13 lines
507 B
Desktop File
[Service]
|
|
Environment=PATH=/home/hm-user/.nix-profile/bin
|
|
ExecStart=@mpd@/bin/mpd --no-daemon /nix/store/00000000000000000000000000000000-mpd.conf '--verbose'
|
|
ExecStartPre=/nix/store/00000000000000000000000000000000-bash/bin/bash -c "/nix/store/00000000000000000000000000000000-coreutils/bin/mkdir -p '/home/hm-user/.local/share/mpd' '/home/hm-user/.local/share/mpd/playlists'"
|
|
Type=notify
|
|
|
|
[Unit]
|
|
After=network.target
|
|
After=sound.target
|
|
After=mpd.socket
|
|
Description=Music Player Daemon
|
|
Requires=mpd.socket
|