Kai Stian Olstad wrote:
> On 10. nov. 2016 18:41, Michael Ströder wrote:
>> Is there any fact or similar pointing to the directory where to install 
>> systemd
>> unit files on different Linux distros?
>>
>> Output of systemd-path is not helpful for this.
>>
>> Currently I have in a custom map:
>>   Debian: "/lib/systemd/system" (sigh!)
>>   openSUSE: "/usr/lib/systemd/system"
>>   CentOS: "/usr/lib/systemd/system"
> 
> Every one of them and a lot of others distros, if not all, support
> /etc/systemd/system, is there a reason for not using that directory?

Is a local "systemctl enable/disable" still possible when adding the unit files
directly to /etc/systemd/system? I thought this is done by adding/removing
symbolic links.

Ciao, Michael.


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e25888f7-bda7-36e6-cc2c-429d6846c1af%40stroeder.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to