* Make sure that the pid file is placed in /var/run.
svn path=/nixpkgs/trunk/; revision=16794
This commit is contained in:
parent
d937a1bae0
commit
0c86d710fe
@ -17,12 +17,21 @@ stdenv.mkDerivation {
|
|||||||
ssmtp
|
ssmtp
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure =
|
||||||
export PATH="${ssmtp}/sbin:$PATH"
|
''
|
||||||
./configure --prefix=$out --with-etcdir=/etc/at \
|
export PATH="${ssmtp}/sbin:$PATH"
|
||||||
--with-jobdir=/var/spool/atjobs --with-atspool=/var/spool/atspool \
|
|
||||||
--with-daemon_username=atd --with-daemon_groupname=atd
|
# Purity: force atd.pid to be placed in /var/run regardless of
|
||||||
'';
|
# whether it exists now.
|
||||||
|
substituteInPlace ./configure --replace "test -d /var/run" "true"
|
||||||
|
'';
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
''
|
||||||
|
--with-etcdir=/etc/at
|
||||||
|
--with-jobdir=/var/spool/atjobs --with-atspool=/var/spool/atspool
|
||||||
|
--with-daemon_username=atd --with-daemon_groupname=atd
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = ''The classical Unix `at' job scheduling command'';
|
description = ''The classical Unix `at' job scheduling command'';
|
||||||
|
Loading…
Reference in New Issue
Block a user