Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
83f6498a
Commit
83f6498a
authored
Sep 30, 2011
by
Miklos Vajna
Committed by
Max Kellermann
Sep 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install systemd service file if systemd is available
parent
525a7919
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
0 deletions
+27
-0
Makefile.am
Makefile.am
+9
-0
NEWS
NEWS
+1
-0
configure.ac
configure.ac
+8
-0
mpd.service.in
mpd.service.in
+9
-0
No files found.
Makefile.am
View file @
83f6498a
...
...
@@ -803,6 +803,15 @@ FILTER_SRC = \
#
# systemd unit
#
if
HAVE_SYSTEMD
systemdsystemunit_DATA
=
\
mpd.service
endif
#
# Sparse code analysis
#
# sparse is a semantic parser
...
...
NEWS
View file @
83f6498a
...
...
@@ -11,6 +11,7 @@ ver 0.16.5 (2010/??/??)
- ffmpeg: don't require key frame for seeking
- fix CUE track seeking
* WIN32: close sockets properly
* install systemd service file if systemd is available
ver 0.16.4 (2011/09/01)
...
...
configure.ac
View file @
83f6498a
...
...
@@ -33,6 +33,13 @@ fi
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=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
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
...
...
@@ -1592,5 +1599,6 @@ dnl ---------------------------------------------------------------------------
dnl Generate files
dnl ---------------------------------------------------------------------------
AC_OUTPUT(Makefile)
AC_OUTPUT(mpd.service)
echo 'MPD is ready for compilation, type "make" to begin.'
mpd.service.in
0 → 100644
View file @
83f6498a
[Unit]
Description=Music Player Daemon
After=sound.target
[Service]
ExecStart=@prefix@/bin/mpd --no-daemon
[Install]
WantedBy=multi-user.target
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment