[CRIU] [PATCH] criu: systemd: allow enabling criu service

Ruslan Kuprieiev kupruser at gmail.com
Tue May 12 05:35:26 PDT 2015


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
-- 
2.1.0



More information about the CRIU mailing list