fixed env file mentions to use noreplace
This commit is contained in:
parent
ea21426c37
commit
fe558b3f35
3 changed files with 4 additions and 15 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
tar: @name@ name=@name@-@version@
|
tar: @name@ name=@name@-@version@
|
||||||
tar: .gear/predownloaded-development name=@name@-development-@version@ base=
|
tar: .gear/predownloaded-development name=@name@-development-@version@ base=
|
||||||
copy: lk-jwt-service.service
|
copy: lk-jwt-service.service
|
||||||
copy: lk-jwt-service.env.example
|
copy: lk-jwt-service.env
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
# Mandatory
|
|
||||||
LIVEKIT_KEY=YOUR_LIVEKIT_KEY
|
|
||||||
LIVEKIT_SECRET=YOUR_LIVEKIT_SECRET
|
|
||||||
LIVEKIT_URL=wss://example.com
|
|
||||||
# Optional
|
|
||||||
LIVEKIT_FULL_ACCESS_HOMESERVERS=example.com
|
|
||||||
# Bind only to localhost when behind reverse proxy (recommended)
|
|
||||||
LIVEKIT_JWT_BIND=127.0.0.1:8080
|
|
||||||
|
|
||||||
# Never use in production:
|
|
||||||
# LIVEKIT_INSECURE_SKIP_VERIFY_TLS=YES_I_KNOW_WHAT_I_AM_DOING
|
|
||||||
|
|
@ -11,7 +11,7 @@ VCS: https://github.com/element-hq/lk-jwt-service
|
||||||
Source: %name-%version.tar
|
Source: %name-%version.tar
|
||||||
Source1: %name-development-%version.tar
|
Source1: %name-development-%version.tar
|
||||||
Source2: %name.service
|
Source2: %name.service
|
||||||
Source3: %name.env.example
|
Source3: %name.env
|
||||||
|
|
||||||
BuildRequires: golang >= 1.23
|
BuildRequires: golang >= 1.23
|
||||||
Requires: ca-certificates
|
Requires: ca-certificates
|
||||||
|
|
@ -33,13 +33,13 @@ install -Dpm0755 %name %buildroot%_bindir/%name
|
||||||
install -dpm0755 %buildroot%_unitdir
|
install -dpm0755 %buildroot%_unitdir
|
||||||
install -Dpm0644 %SOURCE2 %buildroot%_unitdir/%name.service
|
install -Dpm0644 %SOURCE2 %buildroot%_unitdir/%name.service
|
||||||
install -dpm0755 %buildroot%_sysconfdir/%name
|
install -dpm0755 %buildroot%_sysconfdir/%name
|
||||||
install -Dpm0644 %SOURCE3 %buildroot%_sysconfdir/%name/%name.env.example
|
install -Dpm0644 %SOURCE3 %buildroot%_sysconfdir/%name/%name.env
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md LICENSE LICENSE-COMMERCIAL
|
%doc README.md LICENSE LICENSE-COMMERCIAL
|
||||||
%_bindir/%name
|
%_bindir/%name
|
||||||
%_unitdir/%name.service
|
%_unitdir/%name.service
|
||||||
%_sysconfdir/%name/%name.env.example
|
%config(noreplace) %_sysconfdir/%name/%name.env
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Feb 23 2026 Romenskiy Arseniy <romenskiy@altlinux.ru> 0.4.1-alt1
|
* Mon Feb 23 2026 Romenskiy Arseniy <romenskiy@altlinux.ru> 0.4.1-alt1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue