Skip to content

Commit

Permalink
Merge pull request #1039 from openziti/linux-pax-optional-env-file
Browse files Browse the repository at this point in the history
make the linux service env file optional
  • Loading branch information
qrkourier authored Nov 13, 2024
2 parents 1f6f9dd + 8226029 commit 5cd3a4b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ After=network-online.target

[Service]
Type=simple
EnvironmentFile=@CPACK_ETC_DIR@/@SYSTEMD_SERVICE_NAME@.env
# default values
Environment="ZITI_IDENTITY_DIR=/opt/openziti/etc/identities" "ZITI_DNS_IP_RANGE=100.64.0.1/10" "ZITI_VERBOSE=2"
# optional override values
EnvironmentFile=-@CPACK_ETC_DIR@/@SYSTEMD_SERVICE_NAME@.env
User=ziti
UMask=0007
AmbientCapabilities=CAP_NET_ADMIN
Expand Down

0 comments on commit 5cd3a4b

Please sign in to comment.