fix systemd service for k3s

This commit is contained in:
chris 2020-02-10 12:43:12 +01:00
parent 5d9063e236
commit 7ffd17d3b5
1 changed files with 1 additions and 1 deletions

View File

@ -5,4 +5,4 @@ After=network-online.target
[Service]
Environment=K3S_TOKEN={{k3s_token}}
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}}