Re: systemd override.conf question

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



On Mon, Apr 24, 2017 at 06:35:38PM +0200, Robert Moskowitz wrote:
> Does the override.conf file need the section headers?
> 
> For example:
> 
> # cat /etc/systemd/system/postfix.service.d/override.conf
> [Unit]
> After=syslog.target network.target time-sync.target
> 
> Will it work with just the After line, or is the [Unit] line needed to
> control the merge function.

It needs to know what section (such as [Unit], [Service] and
[Install]) the configuration option is in, so yes, it needs the [Unit]
line. 

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux