diff options
-rw-r--r-- | Makefile.am | 9 | ||||
-rw-r--r-- | configure.ac | 16 | ||||
-rw-r--r-- | mpd.service.in | 9 |
3 files changed, 0 insertions, 34 deletions
diff --git a/Makefile.am b/Makefile.am index 8ba4ab4e..cb62d93f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -826,15 +826,6 @@ FILTER_LIBS = \ # -# systemd unit -# - -if HAVE_SYSTEMD -systemdsystemunit_DATA = \ - mpd.service -endif - -# # Sparse code analysis # # sparse is a semantic parser diff --git a/configure.ac b/configure.ac index 37009e76..a56e0095 100644 --- a/configure.ac +++ b/configure.ac @@ -42,21 +42,6 @@ AM_CONDITIONAL(HAVE_CXX, test x$HAVE_CXX = xyes) AC_PROG_INSTALL AC_PROG_MAKE_SET PKG_PROG_PKG_CONFIG -AC_ARG_WITH([systemdsystemunitdir], - AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]), - [], [with_systemdsystemunitdir=no]) -if test "x$with_systemdsystemunitdir" = xyes; then - AC_MSG_CHECKING(for systemd) - with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd) - if test -z "$with_systemdsystemunitdir"; then - AC_MSG_ERROR([Failed to detect systemd]) - fi - AC_MSG_RESULT([$with_systemdsystemunitdir]) -fi -if test "x$with_systemdsystemunitdir" != xno; then - AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir]) -fi -AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ]) dnl --------------------------------------------------------------------------- dnl Declare Variables @@ -1244,7 +1229,6 @@ dnl Generate files dnl --------------------------------------------------------------------------- AC_CONFIG_FILES(Makefile) AC_CONFIG_FILES(doc/doxygen.conf) -AC_CONFIG_FILES(mpd.service) AC_OUTPUT echo 'MPD is ready for compilation, type "make" to begin.' diff --git a/mpd.service.in b/mpd.service.in deleted file mode 100644 index 9e9282fa..00000000 --- a/mpd.service.in +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Music Player Daemon -After=sound.target - -[Service] -ExecStart=@prefix@/bin/mpd --no-daemon - -[Install] -WantedBy=multi-user.target |