File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -744,6 +744,7 @@ TasksMax=infinity
744
744
TimeoutStartSec=0
745
745
Restart=always
746
746
RestartSec=5s
747
+ ExecStartPre=/bin/sh -xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service'
747
748
ExecStartPre=-/sbin/modprobe br_netfilter
748
749
ExecStartPre=-/sbin/modprobe overlay
749
750
ExecStart=${BIN_DIR} /k3s \\
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Type=notify
9
9
EnvironmentFile =-/etc/default/%N
10
10
EnvironmentFile =-/etc/sysconfig/%N
11
11
EnvironmentFile =-/etc/systemd/system/k3s.service.env
12
+ ExecStartPre =/bin/sh -xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service'
12
13
ExecStart =/usr/local/bin/k3s server
13
14
KillMode =process
14
15
Delegate =yes
Original file line number Diff line number Diff line change @@ -669,6 +669,7 @@ TasksMax=infinity
669
669
TimeoutStartSec=0
670
670
Restart=always
671
671
RestartSec=5s
672
+ ExecStartPre=/bin/sh -xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service'
672
673
ExecStartPre=-/sbin/modprobe br_netfilter
673
674
ExecStartPre=-/sbin/modprobe overlay
674
675
ExecStart=${BIN_DIR} /k3s ${CMD_K3S} \$ ${CMD_K3S_ARGS_VAR}
You can’t perform that action at this time.
0 commit comments