Merge pull request #342 from erikwilson/increase-timeout

Extend systemd start timeout for slow systems
pull/355/head
Darren Shepherd 2019-04-15 09:57:13 -07:00 committed by GitHub
commit 72ff4a02aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -265,6 +265,8 @@ Documentation=https://k3s.io
After=network.target After=network.target
[Service] [Service]
Type=notify
EnvironmentFile=/etc/systemd/system/k3s.service.env
ExecStartPre=-/sbin/modprobe br_netfilter ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/local/bin/k3s server ExecStart=/usr/local/bin/k3s server
@ -274,6 +276,7 @@ LimitNOFILE=infinity
LimitNPROC=infinity LimitNPROC=infinity
LimitCORE=infinity LimitCORE=infinity
TasksMax=infinity TasksMax=infinity
TimeoutStartSec=infinity
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -402,6 +402,7 @@ LimitNOFILE=infinity
LimitNPROC=infinity LimitNPROC=infinity
LimitCORE=infinity LimitCORE=infinity
TasksMax=infinity TasksMax=infinity
TimeoutStartSec=infinity
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -13,6 +13,7 @@ LimitNOFILE=infinity
LimitNPROC=infinity LimitNPROC=infinity
LimitCORE=infinity LimitCORE=infinity
TasksMax=infinity TasksMax=infinity
TimeoutStartSec=infinity
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target