Fix typo in systemd configuration
- fix permissions of config files
This commit is contained in:
parent
a16f9f1e98
commit
7e08daa611
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,4 +6,3 @@ test.pl
|
|||||||
at_3.1.11.orig.tar.gz
|
at_3.1.11.orig.tar.gz
|
||||||
at_3.1.12.orig.tar.gz
|
at_3.1.12.orig.tar.gz
|
||||||
pam_atd
|
pam_atd
|
||||||
/atd.systemd
|
|
||||||
|
13
at.spec
13
at.spec
@ -1,3 +1,4 @@
|
|||||||
|
# needed because of _ in upstream tarball
|
||||||
%define major_ver 3.1.12
|
%define major_ver 3.1.12
|
||||||
|
|
||||||
%if %{?WITH_PAM:0}%{!?WITH_PAM:1}
|
%if %{?WITH_PAM:0}%{!?WITH_PAM:1}
|
||||||
@ -6,7 +7,7 @@
|
|||||||
Summary: Job spooling tools
|
Summary: Job spooling tools
|
||||||
Name: at
|
Name: at
|
||||||
Version: %{major_ver}
|
Version: %{major_ver}
|
||||||
Release: 6%{dist}
|
Release: 7%{dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://ftp.debian.org/debian/pool/main/a/at
|
URL: http://ftp.debian.org/debian/pool/main/a/at
|
||||||
@ -161,13 +162,13 @@ fi
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc docs/*
|
%doc docs/*
|
||||||
%config(noreplace) %{_sysconfdir}/at.deny
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/at.deny
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/atd
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/atd
|
||||||
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/atd
|
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/atd
|
||||||
%attr(0700,daemon,daemon) %dir %{_localstatedir}/spool/at
|
%attr(0700,daemon,daemon) %dir %{_localstatedir}/spool/at
|
||||||
%attr(0600,daemon,daemon) %verify(not md5 size mtime) %ghost %{_localstatedir}/spool/at/.SEQ
|
%attr(0600,daemon,daemon) %verify(not md5 size mtime) %ghost %{_localstatedir}/spool/at/.SEQ
|
||||||
%attr(0700,daemon,daemon) %dir %{_localstatedir}/spool/at/spool
|
%attr(0700,daemon,daemon) %dir %{_localstatedir}/spool/at/spool
|
||||||
%attr(0640,root,daemon) %config(noreplace) %{_sysconfdir}/pam.d/atd
|
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/atd
|
||||||
%{_sbindir}/atrun
|
%{_sbindir}/atrun
|
||||||
%attr(0755,root,root) %{_sbindir}/atd
|
%attr(0755,root,root) %{_sbindir}/atd
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
@ -179,6 +180,10 @@ fi
|
|||||||
%attr(0644,root,root) /lib/systemd/system/atd.service
|
%attr(0644,root,root) /lib/systemd/system/atd.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 7 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-7
|
||||||
|
- fix typo in systemd configuration
|
||||||
|
- fix permissions of config files
|
||||||
|
|
||||||
* Tue Nov 30 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-6
|
* Tue Nov 30 2010 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.12-6
|
||||||
- 617320 systemd init script replacement
|
- 617320 systemd init script replacement
|
||||||
|
|
||||||
|
10
atd.systemd
Normal file
10
atd.systemd
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Job spooling tools
|
||||||
|
After=syslog.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
EnvironmentFile=/etc/sysconfig/atd
|
||||||
|
ExecStart=/usr/sbin/atd -f $OPTS
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
1
sources
1
sources
@ -3,4 +3,3 @@ b117781fd68e393443b2a8e478c7c22f atd.init
|
|||||||
ac1471fe22f63f666dc7d31173f47ea0 atd.sysconf
|
ac1471fe22f63f666dc7d31173f47ea0 atd.sysconf
|
||||||
1e67991776148fb319fd77a2e599a765 at_3.1.12.orig.tar.gz
|
1e67991776148fb319fd77a2e599a765 at_3.1.12.orig.tar.gz
|
||||||
000d2f30379d2bf8af09f51416e863ec pam_atd
|
000d2f30379d2bf8af09f51416e863ec pam_atd
|
||||||
0e763d641e33ad468bd8f5ef05da395a atd.systemd
|
|
||||||
|
Loading…
Reference in New Issue
Block a user