mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-09 23:13:30 +01:00
set want and after to network-online.target in systemd file
This commit is contained in:
parent
ab48e3a173
commit
c99c9bf67f
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
[Unit]
|
||||
Description=Lightweight Kubernetes
|
||||
Documentation=https://k3s.io
|
||||
After=network.target
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type={{ 'notify' if k3s_control_node else 'exec' }}
|
||||
|
|
Loading…
Reference in a new issue