Re: [systemd-devel] How does systemd discover template instances?

2015-10-16 Thread Ansgar Burchardt
Michael Chapman writes: > On Thu, 15 Oct 2015, Stuart Longland wrote: >> Assuming I have a few files distributed in the base package: >> /lib/systemd/system/comms-drivers.service >> /lib/systemd/system/comms-drivers@.service >> >> Ordinarily, one would tell

Re: [systemd-devel] How does systemd discover template instances?

2015-10-15 Thread Erik Haller
You can also create a /lib/systemd/systemd/my_main_script.service and use "ln -s /lib/systemd/system/my_main_script.service /etc/systemd/system/uniq1.service". Then use "mkdir /etc/systemd/system/uniq1.service.d" and create a /etc/systemd/system/uniq1.service.d/blah.conf

Re: [systemd-devel] How does systemd discover template instances?

2015-10-15 Thread Michael Chapman
On Thu, 15 Oct 2015, Stuart Longland wrote: Assuming I have a few files distributed in the base package: /lib/systemd/system/comms-drivers.service /lib/systemd/system/comms-drivers@.service Ordinarily, one would tell systemd about template instances by creating symbolic links.

[systemd-devel] How does systemd discover template instances?

2015-10-14 Thread Stuart Longland
Hi all, First up, I'm rather new to systemd, having been more or less forced into it by the decisions of the Ubuntu and Debian projects, which have both gone that way. (I know the default can be changed, but upstream have chosen this init system, so I as a software developer must learn to use

Re: [systemd-devel] How does systemd discover template instances?

2015-10-14 Thread Stuart Longland
On 15/10/15 13:23, Andrei Borzenkov wrote: > 15.10.2015 00:30, Stuart Longland пишет: >> Assuming I have a few files distributed in the base package: >> /lib/systemd/system/comms-drivers.service >> /lib/systemd/system/comms-drivers@.service >> >> Ordinarily, one would tell systemd about

Re: [systemd-devel] How does systemd discover template instances?

2015-10-14 Thread Andrei Borzenkov
15.10.2015 00:30, Stuart Longland пишет: Hi all, First up, I'm rather new to systemd, having been more or less forced into it by the decisions of the Ubuntu and Debian projects, which have both gone that way. (I know the default can be changed, but upstream have chosen this init system, so I

Re: [systemd-devel] How does systemd discover template instances?

2015-10-14 Thread Andrei Borzenkov
Отправлено с iPhone > 15 окт. 2015 г., в 7:01, Stuart Longland > написал(а): > >> On 15/10/15 13:23, Andrei Borzenkov wrote: >> 15.10.2015 00:30, Stuart Longland пишет: >>> Assuming I have a few files distributed in the base package: >>>