On 18/11/2014 18:36, Ansgar Burchardt wrote:
Hi,

On 11/18/2014 06:25 PM, Eric Valette wrote:
In the file they just need to set User and Group then?

With systemd you can ship a default configuration in
/lib/systemd/system and administrators can override specific options,
for example:

+---
| [Unit]
| Description=Some Helpful Description
| Documentation=man:minidlda(1)
|
| [Service]
| User=minidlda
| ExecStart=/usr/sbin/minidldad -S
+---[ /lib/systemd/system/minidlda.service ]

Then an admin can override the entire file by writing his own
/etc/systemd/system/minidlda.service or only override specific settings:

+---
| [Service]
| User=some-other-user
+---[ /etc/systemd/system/miniblda.service.d/user.conf ]

That's crystal clear and solves my problem (cannot reuse the system v default config file but that's a minor and expected problem)

Thanks for your time

--eric




--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/546b8997.2030...@free.fr

Reply via email to