systemd: base "ListenStream" on build options
Make `mpd.socket` configurable based on build options, so that e.g. `ListenStream=6600` is not added if `tcp` option is not enabled.
This commit is contained in:
8
systemd/system/mpd.socket.in
Normal file
8
systemd/system/mpd.socket.in
Normal file
@@ -0,0 +1,8 @@
|
||||
[Socket]
|
||||
@listen_streams@
|
||||
Backlog=5
|
||||
KeepAlive=true
|
||||
PassCredentials=true
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
Reference in New Issue
Block a user