fix systemd service for k3s
This commit is contained in:
parent
5d9063e236
commit
7ffd17d3b5
1 changed files with 1 additions and 1 deletions
|
@ -5,4 +5,4 @@ After=network-online.target
|
||||||
[Service]
|
[Service]
|
||||||
Environment=K3S_TOKEN={{k3s_token}}
|
Environment=K3S_TOKEN={{k3s_token}}
|
||||||
Environment=K3S_DATASTORE_ENDPOINT=http://node01:2379,http://node02:2379,http://node03:2379
|
Environment=K3S_DATASTORE_ENDPOINT=http://node01:2379,http://node02:2379,http://node03:2379
|
||||||
Exec=/usr/local/sbin/k3s server --no-deploy traefik --bind-address {{wg_ip}} --advertise_address {{wg_ip}}
|
ExecStart=/usr/local/sbin/k3s server --no-deploy traefik --bind-address {{wg_ip}} --advertise-address {{wg_ip}}
|
||||||
|
|
Loading…
Reference in a new issue