[CRIU] [PATCH 1/2] criu: scripts: remove criu service

Ruslan Kuprieiev rkuprieiev at cloudlinux.com
Mon Oct 5 01:09:22 PDT 2015


As it is not recomended to run criu as a root system service, lets
remove service file to stop encouraging people to do it.

Signed-off-by: Ruslan Kuprieiev <rkuprieiev at cloudlinux.com>
---
 scripts/sd/criu.service | 8 --------
 scripts/sd/criu.socket  | 8 --------
 2 files changed, 16 deletions(-)
 delete mode 100644 scripts/sd/criu.service
 delete mode 100644 scripts/sd/criu.socket

diff --git a/scripts/sd/criu.service b/scripts/sd/criu.service
deleted file mode 100644
index 5df88fb..0000000
--- a/scripts/sd/criu.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Checkpoint Restore in Userspace daemon
-
-[Service]
-ExecStart=/usr/sbin/criu service -o /var/log/criu-service.log
-
-[Install]
-WantedBy=multi-user.target
diff --git a/scripts/sd/criu.socket b/scripts/sd/criu.socket
deleted file mode 100644
index 7ccf7b4..0000000
--- a/scripts/sd/criu.socket
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Checkpoint Restore in Userspace socket
-
-[Socket]
-ListenSequentialPacket=/var/run/criu-service.socket
-
-[Install]
-WantedBy=sockets.target
-- 
2.4.3



More information about the CRIU mailing list