Re: [systemd-devel] socket activated services and correct dependency mapping

2015-07-25 Thread James Hogarth
On 24 Jul 2015 11:55, "Dimitri John Ledkov" wrote: > > On 24 July 2015 at 10:38, James Hogarth wrote: > > I want a user to be able to systemctl start sslh and use listening > > addresses in /etc/sslh.cfg as always (so I'm reluctant to put a > > straight Sockets= in the service unit file) but as i

Re: [systemd-devel] socket activated services and correct dependency mapping

2015-07-24 Thread Dimitri John Ledkov
On 24 July 2015 at 10:38, James Hogarth wrote: > I want a user to be able to systemctl start sslh and use listening > addresses in /etc/sslh.cfg as always (so I'm reluctant to put a > straight Sockets= in the service unit file) but as it stands the lazy You can write a generator which will parse

Re: [systemd-devel] socket activated services and correct dependency mapping

2015-07-24 Thread James Hogarth
On 24 July 2015 at 10:38, James Hogarth wrote: > Hi, > > I'm in the process of adding systemd native sockets to a service > (rather than using inetd compatibility) and am trying to get my head > around the proper way to configure the unit files so that the socket > is optional rather than required

[systemd-devel] socket activated services and correct dependency mapping

2015-07-24 Thread James Hogarth
Hi, I'm in the process of adding systemd native sockets to a service (rather than using inetd compatibility) and am trying to get my head around the proper way to configure the unit files so that the socket is optional rather than required but allowing restarting of the socket unit. https://githu