Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01b78c9660 |
3 changed files with 18 additions and 15 deletions
|
|
@ -1,9 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Git Repositories Server Daemon
|
|
||||||
Documentation=man:git-daemon(1)
|
|
||||||
Wants=git.socket
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=nobody
|
|
||||||
ExecStart=/usr/libexec/git-core/git-daemon --base-path=/var/lib/git --export-all --user-path=public_git --syslog --inetd --verbose
|
|
||||||
StandardInput=socket
|
|
||||||
16
git.spec
16
git.spec
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
Name: git
|
Name: git
|
||||||
Version: 1.9.3
|
Version: 1.9.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Fast Version Control System
|
Summary: Fast Version Control System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
|
@ -57,7 +57,7 @@ Source5: git-gui.desktop
|
||||||
Source6: gitweb.conf.in
|
Source6: gitweb.conf.in
|
||||||
Source10: http://git-core.googlecode.com/files/%{name}-manpages-%{version}.tar.gz
|
Source10: http://git-core.googlecode.com/files/%{name}-manpages-%{version}.tar.gz
|
||||||
Source11: http://git-core.googlecode.com/files/%{name}-htmldocs-%{version}.tar.gz
|
Source11: http://git-core.googlecode.com/files/%{name}-htmldocs-%{version}.tar.gz
|
||||||
Source12: git.service
|
Source12: git@.service
|
||||||
Source13: git.socket
|
Source13: git.socket
|
||||||
Patch0: git-1.8-gitweb-home-link.patch
|
Patch0: git-1.8-gitweb-home-link.patch
|
||||||
# https://bugzilla.redhat.com/490602
|
# https://bugzilla.redhat.com/490602
|
||||||
|
|
@ -511,13 +511,13 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
%if %{use_systemd}
|
%if %{use_systemd}
|
||||||
%post daemon
|
%post daemon
|
||||||
%systemd_post git.service
|
%systemd_post git@.service
|
||||||
|
|
||||||
%preun daemon
|
%preun daemon
|
||||||
%systemd_preun git.service
|
%systemd_preun git@.service
|
||||||
|
|
||||||
%postun daemon
|
%postun daemon
|
||||||
%systemd_postun_with_restart git.service
|
%systemd_postun_with_restart git@.service
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -f bin-man-doc-files
|
%files -f bin-man-doc-files
|
||||||
|
|
@ -610,7 +610,7 @@ rm -rf %{buildroot}
|
||||||
%doc Documentation/*daemon*.txt
|
%doc Documentation/*daemon*.txt
|
||||||
%if %{use_systemd}
|
%if %{use_systemd}
|
||||||
%{_unitdir}/git.socket
|
%{_unitdir}/git.socket
|
||||||
%{_unitdir}/git.service
|
%{_unitdir}/git@.service
|
||||||
%else
|
%else
|
||||||
%config(noreplace)%{_sysconfdir}/xinetd.d/git
|
%config(noreplace)%{_sysconfdir}/xinetd.d/git
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -631,6 +631,10 @@ rm -rf %{buildroot}
|
||||||
# No files for you!
|
# No files for you!
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 25 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 1.9.3-2
|
||||||
|
- Rename the git.service into git@.service fixing
|
||||||
|
https://bugzilla.redhat.com/980574
|
||||||
|
|
||||||
* Mon May 19 2014 Jon Ciesla <limburgher@gmail.com> - 1.9.3-1
|
* Mon May 19 2014 Jon Ciesla <limburgher@gmail.com> - 1.9.3-1
|
||||||
- Update to 1.9.3
|
- Update to 1.9.3
|
||||||
|
|
||||||
|
|
|
||||||
8
git@.service
Normal file
8
git@.service
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Git Repositories Server Daemon
|
||||||
|
Documentation=man:git-daemon(1)
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=nobody
|
||||||
|
ExecStart=-/usr/libexec/git-core/git-daemon --base-path=/var/lib/git --export-all --user-path=public_git --syslog --inetd --verbose
|
||||||
|
StandardInput=socket
|
||||||
Loading…
Add table
Add a link
Reference in a new issue