Hi
On Fri, Sep 18, 2015 at 8:34 PM, Dmitry Karpov wrote:
> 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
I have a similar problem, but from what I can tell with the current
templates this is not possible. I ended up using an internal script
that would loop over the process.
On 09/18/2015 02:34 PM, Dmitry Karpov wrote:
I have a template for creating the backup:
backup@.service
[Unit]
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