2016-10-12 12:21:32 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Open Container Initiative Daemon
|
|
|
|
Documentation=https://github.com/kubernetes-incubator/cri-o
|
2017-06-07 23:23:00 +00:00
|
|
|
After=network-online.target
|
2016-10-12 12:21:32 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
2017-05-12 13:36:15 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/crio-storage
|
|
|
|
EnvironmentFile=-/etc/sysconfig/crio-network
|
2016-10-12 12:21:32 +00:00
|
|
|
Environment=GOTRACEBACK=crash
|
2017-05-12 13:36:15 +00:00
|
|
|
ExecStart=/usr/local/bin/crio \
|
2017-05-15 22:05:58 +00:00
|
|
|
$CRIO_STORAGE_OPTIONS \
|
2017-06-07 23:23:00 +00:00
|
|
|
$CRIO_NETWORK_OPTIONS
|
2016-10-12 12:21:32 +00:00
|
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
2017-10-27 14:42:00 +00:00
|
|
|
TasksMax=infinity
|
2016-10-12 12:21:32 +00:00
|
|
|
LimitNOFILE=1048576
|
|
|
|
LimitNPROC=1048576
|
|
|
|
LimitCORE=infinity
|
2017-06-23 16:04:27 +00:00
|
|
|
OOMScoreAdjust=-999
|
2016-10-12 12:21:32 +00:00
|
|
|
TimeoutStartSec=0
|
|
|
|
Restart=on-abnormal
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|