On 01/06/2015 09:37, Ramon Medeiros wrote:
I just checked and saw that is /lib/systemd/system is also available
Can we use only this dir so?
If you use the macro $(systemdsystemunitdir) it will work to every
distro. You don't need to hard coded any directory.
On 05/29/2015 01:43 PM, Frederic Bonnard wrote:
>>> man systemd.unit says in "Table 1" that this is for local
>>> configuration and that installed packages should go in
>>> So no need of /etc/systemd/system part I'd say.
>> HI Frederic,
>> i put on /etc/systemd/system because debian8 does not have a
>> /usr/lib/systemd/system directory. Should i created it?
> The equivalent of /usr/lib/systemd/system on debian/ubuntu is
> /lib/systemd/system. The latter should already exist.
> If you use $(systemdsystemunitdir)/lib/systemd/system it should be
> all good.
> You should have $(systemdsystemunitdir)/lib/systemd/system resolving to
> - /usr/lib/systemd/system on fedora-like systems
> - /lib/systemd/system on debian-like systems
> That means that your initial section should be enough on all systems.
> the section with /etc can be removed.
> If I have time I can rework your patch and send it to you so that you
> check/review it.
>> Ramon Nunes Medeiros
>> Kimchi Developer
>> Linux Technology Center Brazil
>> IBM Systems & Technology Group
>> Phone : +55 19 2132 7878