Re: [systemd-devel] restricting systemd user services by hostname

2017-01-04 Thread Mike Gulick
On 01/04/2017 04:36 PM, Mantas Mikulėnas wrote: systemd.unit documents ConditionHost=, which can match either by hostname or by machine-id for exactly this situation. There is also the (slightly horrible) ConditionPathExists=/var/lib/systemd/linger/%u. Thanks! Can't believe I missed that in

Re: [systemd-devel] restricting systemd user services by hostname

2017-01-04 Thread Mantas Mikulėnas
On Wed, Jan 4, 2017 at 10:56 PM, Mike Gulick wrote: > Hi systemd-devel, > > > I'm on Debian 8 with systemd 215 (I realized its old, but its nontrivial > to upgrade Debian, especially in a corporate environment). We have > NFS mounted home directories. I'm trying to configure a vnc server to > s