summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-06-20 10:53:24 +0400
committerKonstantin Pavlov <thresh@nginx.com>2022-06-20 10:53:24 +0400
commitd220eb2996513134d3553dbb4ae6b6bbf4692775 (patch)
tree5754445ae663df34a98a4e028a968bdf8fb18e55 /pkg
parente42c52cff68b2bf39f97b6d21b153de730e54d5a (diff)
downloadunit-d220eb2996513134d3553dbb4ae6b6bbf4692775.tar.gz
unit-d220eb2996513134d3553dbb4ae6b6bbf4692775.tar.bz2
Packages: dropped /etc/unit directory.
It's never used.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/deb/debian/dirs1
-rw-r--r--pkg/rpm/unit.spec.in2
2 files changed, 0 insertions, 3 deletions
diff --git a/pkg/deb/debian/dirs b/pkg/deb/debian/dirs
index fdcb4340..4a6618c8 100644
--- a/pkg/deb/debian/dirs
+++ b/pkg/deb/debian/dirs
@@ -1,4 +1,3 @@
usr/sbin
-etc/unit
usr/lib/unit
var/lib/unit
diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in
index 4cbc7358..a9f47e9d 100644
--- a/pkg/rpm/unit.spec.in
+++ b/pkg/rpm/unit.spec.in
@@ -115,7 +115,6 @@ DESTDIR=%{buildroot} make unitd-install libunit-install manpage-install
%{__mkdir} -p %{buildroot}%{_sysconfdir}/logrotate.d
%{__install} -m 644 -p %{SOURCE4} \
%{buildroot}%{_sysconfdir}/logrotate.d/unit
-%{__mkdir} -p %{buildroot}%{_sysconfdir}/unit
%{__mkdir} -p %{buildroot}%{_datadir}/doc/unit/examples
%{__install} -m 644 -p %{SOURCE3} \
%{buildroot}%{_datadir}/doc/unit/examples/example.config
@@ -203,7 +202,6 @@ BANNER
%defattr(-,root,root,-)
%attr(0755,root,root) %{_sbindir}/unitd
%attr(0755,root,root) %{_sbindir}/unitd-debug
-%dir %{_sysconfdir}/unit
%{_unitdir}/unit.service
%{_unitdir}/unit-debug.service
%dir %attr(0755,root,root) %ghost %{_localstatedir}/run/unit