Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: systemd@g.o
Subject: Re: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_install_serviced().
Date: Thu, 12 Sep 2013 11:47:45
Message-Id: 20130912134802.2f118dd0@gentoo.org
In Reply to: [gentoo-dev] [PATCH systemd.eclass] Introduce systemd_install_serviced(). by "Michał Górny"
1 Dnia 2013-09-08, o godz. 13:12:26
2 Michał Górny <mgorny@g.o> napisał(a):
3
4 > This function can be used to install service configuration templates.
5 > Usage:
6 >
7 > systemd_install_serviced "${FILESDIR}"/foo.service.conf
8 >
9 > or:
10 >
11 > systemd_install_serviced "${FILESDIR}"/barbaz foo.service
12 >
13 > with the latter specifying related service name explicitly, former
14 > expecting it to match ${basename%.conf}. The files are installed as:
15 >
16 > /etc/systemd/system/foo.service.d/00gentoo.conf
17 >
18 > They should be commented out templates that users can use to customize
19 > the service easily.
20
21 Improved wrt received feedback and committed.
22
23 --
24 Best regards,
25 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature