From e604844d4abbc99629f47e5a491eda7509dddb94 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Mon, 2 Oct 2023 15:54:24 +0800 Subject: [PATCH] files drop svc x2 --- .../system/containerd-fuse-overlayfs.service | 12 -------- .../etc/systemd/system/containerd.service | 29 ------------------- 2 files changed, 41 deletions(-) delete mode 100644 builder/files/etc/systemd/system/containerd-fuse-overlayfs.service delete mode 100644 builder/files/etc/systemd/system/containerd.service diff --git a/builder/files/etc/systemd/system/containerd-fuse-overlayfs.service b/builder/files/etc/systemd/system/containerd-fuse-overlayfs.service deleted file mode 100644 index 093fccc..0000000 --- a/builder/files/etc/systemd/system/containerd-fuse-overlayfs.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=containerd fuse-overlayfs snapshotter -PartOf=containerd.service - -[Service] -ExecStart=/usr/local/bin/containerd-fuse-overlayfs-grpc /run/containerd-fuse-overlayfs.sock /var/lib/containerd-fuse-overlayfs -Type=notify -Restart=always -RestartSec=1 - -[Install] -WantedBy=multi-user.target diff --git a/builder/files/etc/systemd/system/containerd.service b/builder/files/etc/systemd/system/containerd.service deleted file mode 100644 index 8680316..0000000 --- a/builder/files/etc/systemd/system/containerd.service +++ /dev/null @@ -1,29 +0,0 @@ -# derived containerd systemd service file from the official: -# https://github.com/containerd/containerd/blob/master/containerd.service -[Unit] -Description=containerd container runtime -Documentation=https://containerd.io -After=network.target -# disable rate limiting -StartLimitIntervalSec=0 - -[Service] -ExecStartPre=-/sbin/modprobe overlay -ExecStart=/usr/local/bin/containerd -Restart=always -RestartSec=1 - -Delegate=yes -KillMode=process -Restart=always -# Having non-zero Limit*s causes performance problems due to accounting overhead -# in the kernel. We recommend using cgroups to do container-local accounting. -LimitNPROC=infinity -LimitCORE=infinity -LimitNOFILE=infinity -# Comment TasksMax if your systemd version does not supports it. -# Only systemd 226 and above support this version. -TasksMax=infinity - -[Install] -WantedBy=multi-user.target