1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-17 08:39:44 +01:00
home-manager/tests/modules/services/mpd/start-when-needed.socket
novenary 0a30138c69
mpd: specify dependency of service on socket
This allows `systemctl --user restart mpd.socket` to work properly.
2024-07-04 00:22:58 +02:00

8 lines
124 B
SYSTEMD

[Install]
WantedBy=sockets.target
[Socket]
Backlog=5
KeepAlive=true
ListenStream=127.0.0.1:6600
ListenStream=%t/mpd/socket