[CentOS] systemd override.conf question
Jonathan Billings
billings at negate.org
Mon Apr 24 17:37:12 UTC 2017
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 at negate.org>
More information about the CentOS
mailing list