File: Debian-specific-paths-and-features.patch

package info (click to toggle)
cronie 1.7.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: ansic: 7,714; sh: 4,376; makefile: 55
file content (75 lines) | stat: -rw-r--r-- 1,900 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
From: Christian Kastner <ckk@kvr.at>
Date: Thu, 28 Jul 2011 11:15:01 +0200
Subject: Debian-specific paths and features

Use Debian-specific paths and features. For example, the spool dir differs from
upstream, and we always build to use syslog.

Forwarded: not-needed
Last-Update: 2011-07-28
---
 man/cron.8    | 15 ++-------------
 man/crontab.1 |  2 +-
 man/crontab.5 |  2 +-
 3 files changed, 4 insertions(+), 15 deletions(-)

--- a/man/cron.8
+++ b/man/cron.8
@@ -41,7 +41,7 @@
 .PP
 .I Cron
 searches
-.I /var/spool/cron
+.I /var/spool/cron/crontabs
 for crontab files which are named after user accounts;
 together with the system crontab
 .IR /etc/crontab ,
@@ -88,7 +88,7 @@
 .IR /etc/cron.d/
 directory that contains system cronjobs stored for different users.
 .TP
-.IR /var/spool/cron
+.IR /var/spool/cron/crontabs
 directory that contains user crontables created by the
 .BR crontab (1)
 command.
@@ -181,17 +181,6 @@
 .TP
 .B "\-V"
 Print version and exit.
-.SH SIGNALS
-When the
-.I SIGHUP
-is received, the
-.I Cron
-daemon will close and reopen its log file.  This proves to be useful in
-scripts which rotate and age log files.  Naturally, this is not relevant
-if
-.I Cron
-was built to use
-.IR syslog (3).
 .SH CLUSTERING SUPPORT
 In this version of
 .IR Cron
--- a/man/crontab.1
+++ b/man/crontab.1
@@ -68,7 +68,7 @@
 In this version of
 .IR Cron
 it is possible to use a network-mounted shared
-.I /var/spool/cron
+.I /var/spool/cron/crontabs
 across a cluster of hosts and specify that only one of the hosts should
 run the crontab jobs in the particular directory at any one time.  You
 may also use
--- a/man/crontab.5
+++ b/man/crontab.5
@@ -333,7 +333,7 @@
 .SH FILES
 .I /etc/crontab
 main system crontab file.
-.I /var/spool/cron/
+.I /var/spool/cron/crontabs
 a directory for storing crontabs defined by users.
 .I /etc/cron.d/
 a directory for storing system crontabs.