[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init system policy



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 ]

Ansgar


Reply to: