[systemd-devel] how-to run instantiated units from templates one after the other

2015-09-18 Thread Dmitry Karpov
I have a template for creating the backup: backup@.service [Unit] Description=Instance %i [Service] ExecStart=/bin/sh -c "echo do backup job for %i" [Install] WantedBy=maintenance.target and some target: maintenance.target [Unit] Description=target for maintenance StopWhenUnneed

[systemd-devel] Any way to run instantiated units from templates one after the other

2015-09-07 Thread Dmitry Karpov
I have a template for creating the backup: backup@.service [Unit] Description=Instance %i [Service] ExecStart=/bin/sh -c "echo do backup job for %i" [Install] WantedBy=maintenance.target and some target: maintenance.target [Unit] Description=target for maintenanc