<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Drop-in files to override units files does not work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75104#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Drop-in files to override units files does not work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75104">bug 75104</a>
from <span class="vcard"><a class="email" href="mailto:rfnx.poubelle@gmail.com" title="rfnx.poubelle@gmail.com">rfnx.poubelle@gmail.com</a>
</span></b>
<pre>Yes it works this way for me. In my case, I override the postgresql.service
unit file in /usr/lib/systemd/system with the file I created
/etc/systemd/system/postgresql.service :
cat /etc/systemd/system/postgresql.service
.include /usr/lib/systemd/system/postgresql.service
[Unit]
Before=dovecot.service
[Install]
RequiredBy=dovecot.service
systemctl show -p RequiredBy,After postgresql.service
RequiredBy=dovecot.service <a href="mailto:uwsgi@emperor.service">uwsgi@emperor.service</a>
After=network.target systemd-journald.socket basic.target system.slice
-----
Did you do "systemctl daemon-reload" to ensure your unit file was read ? You
can also try to disable the unit before creating the file then reenable it to
make sure your file is loaded (you can verify this with "systemctl status unit"
or "systemd-delta")</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>