From b197dbdae424004f4ca704275c8733a39653ac30 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Tue, 12 May 2015 15:35:00 +0300 Subject: [PATCH] criu: systemd: allow enabling criu service 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 Signed-off-by: Pavel Emelyanov --- scripts/sd/criu.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/sd/criu.service b/scripts/sd/criu.service index ff928bff1..5df88fb3e 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