[Musicpd-dev-team] [PATCH v2] Install systemd service file if systemd is available

2011-09-27 Thread Miklos Vajna
On Wed, Sep 28, 2011 at 12:05:02AM +0200, Wieland Hoffmann wrote: > I think your service should have "After=sound.target" in the [Unit] > section so it doesn't get started before sound cards are set up. Oh, indeed. Updated patch attached. From 6f3d63c74a340acf7799a8aaeb94245b87fc6ecc Mon Sep 17

Re: [Musicpd-dev-team] [PATCH] Install systemd service file if systemd is available

2011-09-27 Thread Wieland Hoffmann
Hallo Miklos Vajna: > Hi, > > I'm attaching a patch adding mpd.service for systemd[1]. I'm submitting > it as a patch, as one of systemd's great idea is to let upstream ship > service files, so the "every distro packager writes his own rc script" > issue won't happen again. :) I think your service

Re: [Musicpd-dev-team] [PATCH] Install systemd service file if systemd is available

2011-09-27 Thread Miklos Vajna
On Tue, Sep 27, 2011 at 11:44:17PM +0200, Max Kellermann wrote: > > + AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for > > systemd service files]), > > What a monster option! Is that a common name for this option in other > programs? Yes, see http://0pointer.de/public/sy

Re: [Musicpd-dev-team] [PATCH] Install systemd service file if systemd is available

2011-09-27 Thread Max Kellermann
On 2011/09/27 23:19, Miklos Vajna wrote: > I'm attaching a patch adding mpd.service for systemd[1]. I'm submitting > it as a patch, as one of systemd's great idea is to let upstream ship > service files, so the "every distro packager writes his own rc script" > issue won't happen again. :) Cool,

[Musicpd-dev-team] [PATCH] Install systemd service file if systemd is available

2011-09-27 Thread Miklos Vajna
Hi, I'm attaching a patch adding mpd.service for systemd[1]. I'm submitting it as a patch, as one of systemd's great idea is to let upstream ship service files, so the "every distro packager writes his own rc script" issue won't happen again. :) Thanks, Miklos [1] http://www.freedesktop.org/wik