Greetings, I have a template unit for different demon configurations that I 
want to switch between.  I was able to easily make a template unit foo@.service 
that just calls "foo -c /etc/%i.conf", so now I can say foo@config1.service and 
it works as expected.  My problem now is that if I do foo@config2.service, I 
need to make sure foo@config1.service is stopped before foo@config2.service 
starts.  Is there a clean way to do this?  I see tons of examples with targets 
but none for template units.  Thanks! 
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to