Accepting request 183122 from Base:System
- No http://0pointer.de/public/systemd-units/atd.service anymore - systemd: start as non-forking service - systemd: start after systemd-user-sessions.service - Use /run not /var/run to store the pid file OBS-URL: https://build.opensuse.org/request/show/183122 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/at?expand=0&rev=54
This commit is contained in:
10
at-piddir.patch
Normal file
10
at-piddir.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -136,6 +136,7 @@ elif test -d /usr/run ; then
|
||||
else
|
||||
PIDDIR="$ETCDIR"
|
||||
fi
|
||||
+PIDDIR=/run
|
||||
AC_DEFINE_UNQUOTED(PIDFILE, "$PIDDIR/atd.pid", [What is the name of our PID file?])
|
||||
AC_MSG_RESULT($PIDDIR)
|
||||
|
16
at.changes
16
at.changes
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 15 13:50:37 UTC 2013 - werner@suse.de
|
||||
|
||||
- No http://0pointer.de/public/systemd-units/atd.service anymore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 13 00:09:02 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
- systemd: start as non-forking service
|
||||
- systemd: start after systemd-user-sessions.service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 13 00:05:41 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
- Use /run not /var/run to store the pid file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 01:52:46 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
|
6
at.spec
6
at.spec
@@ -34,7 +34,7 @@ Source1: atd.init
|
||||
Source2: atd.pamd
|
||||
Source3: sysconfig.atd
|
||||
Source4: at.sleep
|
||||
Source5: http://0pointer.de/public/systemd-units/atd.service
|
||||
Source5: atd.service
|
||||
Patch0: %{name}-3.1.13.patch
|
||||
Patch4: %{name}-3.1.13-joblist.patch
|
||||
Patch5: %{name}-3.1.13-selinux.patch
|
||||
@@ -59,6 +59,8 @@ Patch19: %{name}-3.1.8-jobdir-mtime.patch
|
||||
Patch20: at-parse-suse-sysconfig.patch
|
||||
#PATCH-FIX-UPSTREAM fix makefile dependencies
|
||||
Patch21: at-makefile-deps.patch
|
||||
#PATCH-FIX-OPENSUSE Set pid dir to /run not /var/run
|
||||
Patch22: at-piddir.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq
|
||||
PreReq: permissions
|
||||
@@ -93,7 +95,7 @@ This program allows you to run jobs at specified times.
|
||||
%patch19
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
|
||||
%patch22
|
||||
%build
|
||||
rm -fv y.tab.c y.tab.h lex.yy.c lex.yy.o y.tab.o
|
||||
autoreconf -fiv
|
||||
|
@@ -1,9 +1,9 @@
|
||||
[Unit]
|
||||
Description=Execution Queue Daemon
|
||||
After=systemd-user-sessions.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/atd
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/atd -f
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user