mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
fix(gateway): Fallback to get_hostname() for systemd deployments (#3029)
Fixes #3025
This commit is contained in:
@@ -321,7 +321,6 @@ defmodule Web.RelayGroups.NewToken do
|
||||
--preserve-env=FIREZONE_NAME,FIREZONE_ID,FIREZONE_TOKEN,PUBLIC_IP4_ADDR,PUBLIC_IP6_ADDR,RUST_LOG,LOG_FORMAT \\
|
||||
-u firezone \\
|
||||
-g firezone \\
|
||||
FIREZONE_NAME=$(hostname) \\
|
||||
/usr/local/bin/firezone-relay
|
||||
TimeoutStartSec=3s
|
||||
TimeoutStopSec=15s
|
||||
|
||||
@@ -287,7 +287,6 @@ defmodule Web.Sites.NewToken do
|
||||
--preserve-env=FIREZONE_NAME,FIREZONE_ID,FIREZONE_TOKEN,FIREZONE_API_URL,RUST_LOG \\
|
||||
-u firezone \\
|
||||
-g firezone \\
|
||||
FIREZONE_NAME=$(hostname) \\
|
||||
/usr/local/bin/firezone-gateway
|
||||
TimeoutStartSec=3s
|
||||
TimeoutStopSec=15s
|
||||
|
||||
Reference in New Issue
Block a user