On 2017-03-16 14:33, Per Jessen wrote:
Carlos E. R. wrote:
On 2017-03-15 16:48, Per Jessen wrote:
Roger Oberholtzer wrote:
Hmm. There currently exists a file with one name in the /etc/systemd/system directory. The suggestion was to add a directory containing a file with a different name. Perhaps the name in the directory just needs to end in .conf.
I think that is correct, yes.
But that still says nothing about the existing file. Remove it?
Nono, certainly not. The drop-in adds or replaces configs in the existing file.
He has:
/etc/systemd/system/apache.service -> /usr/lib/systemd/system/apache2.service
I think the one on /etc should be removed. If you edit the file in etc it makes sense to have it, but if both are the same, or a link, you should only have the one in /usr, which should be the original one, not edited.
I think /etc/systemd/system/apache.service is just for convenience, to be able to use 'apache' instead of 'apache2'. You shouldn't edit any of them, link or otherwise, that's the point.
Ah, I didn't notice the absence of the "2". But there is an error here: files in /etc/systemd/system/ are intended to be edited. If this is an exception, the symlink should be /usr/lib/systemd/system/apache.service -> /usr/lib/systemd/system/apache2.service Or be removed completely. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))