Skip to content

Commit a7dff7e

Browse files
authored
Merge pull request #2778 from thaJeztah/1.1_backport_ignore_modprobe_failures
[release/1.1] cherry-pick: Ignore modprobe failures in ExecStartPre (systemd unit)
2 parents b337430 + 36d2576 commit a7dff7e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

containerd.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Documentation=https://containerd.io
44
After=network.target
55

66
[Service]
7-
ExecStartPre=/sbin/modprobe overlay
7+
ExecStartPre=-/sbin/modprobe overlay
88
ExecStart=/usr/local/bin/containerd
99
Delegate=yes
1010
KillMode=process

docs/ops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Documentation=https://containerd.io
4949
After=network.target
5050
5151
[Service]
52-
ExecStartPre=/sbin/modprobe overlay
52+
ExecStartPre=-/sbin/modprobe overlay
5353
ExecStart=/usr/local/bin/containerd
5454
Delegate=yes
5555
KillMode=process

0 commit comments

Comments
 (0)