-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes to MPD systemd service file? #124
Comments
I consider it useless to use MPD with systemd without compiling it with libsystemd. It is not a supported use case. |
OK. What about units changes regarding network support? |
mbakke
pushed a commit
to guix-mirror/guix
that referenced
this issue
Feb 11, 2019
We no longer install any systemd unit files for MPD because this is no longer supported upstream as a matter of policy or via MPD's build system. [0] Specifically, they don't support using MPD with systemd unless MPD was linked with libsystemd. The unit files are only built when this is the case. [0] <MusicPlayerDaemon/MPD#124 (comment)> * gnu/packages/mpd.scm (mpd): Update to 0.21.4. [build-system]: Use meson-build-system. [native-inputs]: Add gcc-8, gcc-8:lib, and python-sphinx. [arguments]: Add a 'expand-C++-include-path' phase. Remove the 'install-service-files' phase. Make sure to build the documentation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I’ve recently realized that if MPD is built without
systemd-daemon
support (which, according to the configure script, is for socket activation), theType=notify
makes the service useless because it apparently doesn’t support notify in this case. Changing tosimple
(or removing the line altogether since this is the default). I understand per #121 that you want to keepnotify
, so I’m only proposing to remove that when compiling withoutsystemd-daemon
. Or change the configure script so that systemd-daemon support is said mandatory for systemd support and do not allow to package systemd units files without it.Looking at the service file, I realized that some more changes could be made depending on the compilation options:
network.target
andAF_INET AF_INET6 AF_NETLINK
should be removed.AF_INET6
?Thanks.
The text was updated successfully, but these errors were encountered: