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:
naglis
2023-09-15 22:04:38 +03:00
parent 9bb67ae7f0
commit df069bc456
4 changed files with 19 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
[Socket]
@listen_streams@
Backlog=5
KeepAlive=true
PassCredentials=true
[Install]
WantedBy=sockets.target