Merge pull request #2776 from thaJeztah/ignore_modprobe_failures

Ignore modprobe failures in ExecStartPre (systemd unit)
This commit is contained in:
Phil Estes 2018-11-10 14:09:40 -05:00 committed by GitHub
commit f0bedbbd32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Documentation=https://containerd.io
After=network.target After=network.target
[Service] [Service]
ExecStartPre=/sbin/modprobe overlay ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/containerd ExecStart=/usr/local/bin/containerd
Delegate=yes Delegate=yes

View File

@ -49,7 +49,7 @@ Documentation=https://containerd.io
After=network.target After=network.target
[Service] [Service]
ExecStartPre=/sbin/modprobe overlay ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/containerd ExecStart=/usr/local/bin/containerd
Delegate=yes Delegate=yes
KillMode=process KillMode=process