[CRIU] [PATCH] criu: systemd: allow enabling criu service
Pavel Emelyanov
xemul at parallels.com
Tue May 12 05:59:44 PDT 2015
On 05/12/2015 03:35 PM, Ruslan Kuprieiev wrote:
> Currently it is not possible to enable criu service after "make install",
> as it has no [Install] section in criu.service file.
>
> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
> ---
> scripts/sd/criu.service | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/sd/criu.service b/scripts/sd/criu.service
> index ff928bf..5df88fb 100644
> --- a/scripts/sd/criu.service
> +++ b/scripts/sd/criu.service
> @@ -3,3 +3,6 @@ Description=Checkpoint Restore in Userspace daemon
>
> [Service]
> ExecStart=/usr/sbin/criu service -o /var/log/criu-service.log
> +
> +[Install]
> +WantedBy=multi-user.target
>
Applied
More information about the CRIU
mailing list