Accepting request 182951 from home:elvigia:branches:Base:System
- 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/182951 OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=65
This commit is contained in:
parent
cb2d49fe74
commit
99983ff6a6
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)
|
||||||
|
|
11
at.changes
11
at.changes
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Thu Jun 20 01:52:46 UTC 2013 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
4
at.spec
4
at.spec
@ -59,6 +59,8 @@ Patch19: %{name}-3.1.8-jobdir-mtime.patch
|
|||||||
Patch20: at-parse-suse-sysconfig.patch
|
Patch20: at-parse-suse-sysconfig.patch
|
||||||
#PATCH-FIX-UPSTREAM fix makefile dependencies
|
#PATCH-FIX-UPSTREAM fix makefile dependencies
|
||||||
Patch21: at-makefile-deps.patch
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq
|
PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq
|
||||||
PreReq: permissions
|
PreReq: permissions
|
||||||
@ -93,7 +95,7 @@ This program allows you to run jobs at specified times.
|
|||||||
%patch19
|
%patch19
|
||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
|
%patch22
|
||||||
%build
|
%build
|
||||||
rm -fv y.tab.c y.tab.h lex.yy.c lex.yy.o y.tab.o
|
rm -fv y.tab.c y.tab.h lex.yy.c lex.yy.o y.tab.o
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Execution Queue Daemon
|
Description=Execution Queue Daemon
|
||||||
|
After=systemd-user-sessions.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/atd
|
ExecStart=/usr/sbin/atd -f
|
||||||
Type=forking
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user