From 1bc7042bd5e3a8850a21e2c9783741a2e95a6b7d Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Wed, 17 Apr 2019 11:27:03 -0700 Subject: [PATCH] Fix systemd TimeoutStartSec Set TimeoutStartSec to 0 instead of infinity for systemd versions older than 229. --- README.md | 2 +- install.sh | 2 +- k3s.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2626fe1774..0b74f59713 100644 --- a/README.md +++ b/README.md @@ -276,7 +276,7 @@ LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity TasksMax=infinity -TimeoutStartSec=infinity +TimeoutStartSec=0 [Install] WantedBy=multi-user.target diff --git a/install.sh b/install.sh index baa7703672..f023ef59ef 100755 --- a/install.sh +++ b/install.sh @@ -402,7 +402,7 @@ LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity TasksMax=infinity -TimeoutStartSec=infinity +TimeoutStartSec=0 [Install] WantedBy=multi-user.target diff --git a/k3s.service b/k3s.service index 77d170f50a..c30850295c 100644 --- a/k3s.service +++ b/k3s.service @@ -13,7 +13,7 @@ LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity TasksMax=infinity -TimeoutStartSec=infinity +TimeoutStartSec=0 [Install] WantedBy=multi-user.target