From 0ab66db7b95cdcf5aa5223e1c55ff24d386aa833 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 27 Jan 2014 08:50:59 +0100 Subject: move systemd unit to directory systemd/ --- .gitignore | 4 ++-- Makefile.am | 2 +- configure.ac | 2 +- mpd.service.in | 9 --------- systemd/mpd.service.in | 9 +++++++++ 5 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 mpd.service.in create mode 100644 systemd/mpd.service.in diff --git a/.gitignore b/.gitignore index 9b052a29f..d744d3833 100644 --- a/.gitignore +++ b/.gitignore @@ -32,8 +32,8 @@ ltmain.sh missing mkinstalldirs /test-driver -mpd -mpd.service +/src/mpd +/systemd/mpd.service stamp-h1 tags *~ diff --git a/Makefile.am b/Makefile.am index ed782259e..e21a1f920 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1185,7 +1185,7 @@ FILTER_LIBS = \ if HAVE_SYSTEMD systemdsystemunit_DATA = \ - mpd.service + systemd/mpd.service endif # diff --git a/configure.ac b/configure.ac index d65839a40..7fa1e3522 100644 --- a/configure.ac +++ b/configure.ac @@ -1796,7 +1796,7 @@ dnl Generate files dnl --------------------------------------------------------------------------- AC_CONFIG_FILES(Makefile) AC_CONFIG_FILES(doc/doxygen.conf) -AC_CONFIG_FILES(mpd.service) +AC_CONFIG_FILES(systemd/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 65fffa7bb..000000000 --- a/mpd.service.in +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Music Player Daemon -After=network.target sound.target - -[Service] -ExecStart=@prefix@/bin/mpd --no-daemon - -[Install] -WantedBy=multi-user.target diff --git a/systemd/mpd.service.in b/systemd/mpd.service.in new file mode 100644 index 000000000..65fffa7bb --- /dev/null +++ b/systemd/mpd.service.in @@ -0,0 +1,9 @@ +[Unit] +Description=Music Player Daemon +After=network.target sound.target + +[Service] +ExecStart=@prefix@/bin/mpd --no-daemon + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3