corrected install errors, made spec more readable
This commit is contained in:
parent
76f7933f0d
commit
4c780729e3
2 changed files with 10 additions and 10 deletions
|
|
@ -9,7 +9,7 @@ Type=simple
|
|||
|
||||
Environment="LIVEKIT_CONFIG=/etc/livekit/livekit.yaml"
|
||||
|
||||
ExecStart=/usr/bin/livekit
|
||||
ExecStart=/usr/sbin/livekit
|
||||
|
||||
User=livekit
|
||||
Group=livekit
|
||||
|
|
|
|||
18
livekit.spec
18
livekit.spec
|
|
@ -31,20 +31,20 @@ LiveKit is an open-source, scalable multi-user WebRTC SFU (Selective Forwarding
|
|||
go build -buildvcs=false -o %name ./cmd/server
|
||||
|
||||
%install
|
||||
install -Dpm0755 %name %buildroot%_sbindir/%name
|
||||
install -Dpm0644 config-sample.yaml %buildroot%_sysconfdir/%name/%name.yaml
|
||||
install -Dpm0644 %SOURCE2 %buildroot%_unitdir/%name.service
|
||||
#install -Dpm0644 %SOURCE3 %buildroot%_sysusersdir/%name.conf
|
||||
install -Dpm0755 livekit %buildroot%_sbindir/livekit
|
||||
install -Dpm0644 config-sample.yaml %buildroot%_sysconfdir/livekit/livekit.yaml
|
||||
install -Dpm0644 %SOURCE2 %buildroot%_unitdir/livekit.service
|
||||
#install -Dpm0644 %SOURCE3 %buildroot%_sysusersdir/livekit.conf
|
||||
|
||||
%pre
|
||||
%sysusers_create_package %name %SOURCE3
|
||||
%sysusers_create_package livekit %SOURCE3
|
||||
|
||||
%files
|
||||
%doc README.md CHANGELOG.md NOTICE LICENSE
|
||||
%_sbindir/%name
|
||||
%config(noreplace) %_sysconfdir/%name/%name.yaml
|
||||
%_unitdir/%name.service
|
||||
#%_sysusersdir/%name.conf
|
||||
%_sbindir/livekit
|
||||
%config(noreplace) %_sysconfdir/livekit/livekit.yaml
|
||||
%_unitdir/livekit.service
|
||||
#%_sysusersdir/livekit.conf
|
||||
|
||||
%changelog
|
||||
* Tue Feb 24 2026 Romenskiy Arseniy <romenskiy2012@altlinux.org> 1.9.11-alt1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue