Merge pull request #575 from runcom/unit-after-network-online

contrib: systemd: change After to network-online.target
This commit is contained in:
Antonio Murdaca 2017-06-08 22:17:00 +02:00 committed by GitHub
commit 77fc45e7bc

View file

@ -1,7 +1,7 @@
[Unit] [Unit]
Description=Open Container Initiative Daemon Description=Open Container Initiative Daemon
Documentation=https://github.com/kubernetes-incubator/cri-o Documentation=https://github.com/kubernetes-incubator/cri-o
After=network.target After=network-online.target
[Service] [Service]
Type=notify Type=notify
@ -10,7 +10,7 @@ EnvironmentFile=-/etc/sysconfig/crio-network
Environment=GOTRACEBACK=crash Environment=GOTRACEBACK=crash
ExecStart=/usr/local/bin/crio \ ExecStart=/usr/local/bin/crio \
$CRIO_STORAGE_OPTIONS \ $CRIO_STORAGE_OPTIONS \
$CRIO_NETWORK_OPTIONS \ $CRIO_NETWORK_OPTIONS
ExecReload=/bin/kill -s HUP $MAINPID ExecReload=/bin/kill -s HUP $MAINPID
TasksMax=8192 TasksMax=8192
LimitNOFILE=1048576 LimitNOFILE=1048576