summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-01-24 04:45:10 +0000
committerfukachan <fukachan>2001-01-24 04:45:10 +0000
commit8a575043e66ef7a2af6b9858adeb3a6152964803 (patch)
tree963a944e020035969974a5ff413a951d4b0aa20b
parent9694185588381569d31dc9c308067bc12d390d0a (diff)
downloadfml8-8a575043e66ef7a2af6b9858adeb3a6152964803.tar.gz
fml8-8a575043e66ef7a2af6b9858adeb3a6152964803.tar.bz2
fml8-8a575043e66ef7a2af6b9858adeb3a6152964803.zip
define shared_db_dir, clean up ticket*
-rw-r--r--fml/etc/default_config.cf.ja20
-rw-r--r--fml/etc/defaults/basic.cf.ja5
-rw-r--r--fml/etc/defaults/directory.cf.ja7
-rw-r--r--fml/etc/defaults/header.cf.ja1
-rw-r--r--fml/etc/defaults/tickets.cf.ja7
5 files changed, 26 insertions, 14 deletions
diff --git a/fml/etc/default_config.cf.ja b/fml/etc/default_config.cf.ja
index 55f627d2..c64a5002 100644
--- a/fml/etc/default_config.cf.ja
+++ b/fml/etc/default_config.cf.ja
@@ -1,11 +1,17 @@
=head1 configurations
-# domain = fml.org
-
+# domain = fml.org
# fqdn = mx0.fml.org
+# ml_home_dir = /var/spool/ml/$ml_name
+
+
+
+=head1 Directories
-# ml_home_dir = /tmp
+# $ml_home_dir is given from libexec/fmlwrapper.
+# ml_home_dir
+shared_db_dir = $ml_home_prefix/@@db@@
=head2 アクセス制御
@@ -51,7 +57,6 @@ header_rewrite_rules = rewrite_subject_tag
add_fml_article_id
add_x_sequence
add_rfc2369
- add_ticket_tag
subject_tag_name = $ml_name
@@ -89,14 +94,15 @@ chaddr_type = confirmation
### Section: Tickets / Trouble Tickets System
###
-#
+use_ticket = yes
+
ticket_model = toymodel
-#
ticket_subject_tag = [%s #%08d]
-#
ticket_sequence_file = $ml_home_dir/ticket.seq
+
+ticket_db_dir = $shared_db_dir/ticket/$mlname
=head1 hooks
###
### default_config.cf file ends here.
diff --git a/fml/etc/defaults/basic.cf.ja b/fml/etc/defaults/basic.cf.ja
index 239ee614..7d5ef0a9 100644
--- a/fml/etc/defaults/basic.cf.ja
+++ b/fml/etc/defaults/basic.cf.ja
@@ -1,9 +1,8 @@
=head1 configurations
-# domain = fml.org
-
+# domain = fml.org
# fqdn = mx0.fml.org
+# ml_home_dir = /var/spool/ml/$ml_name
-# ml_home_dir = /tmp
diff --git a/fml/etc/defaults/directory.cf.ja b/fml/etc/defaults/directory.cf.ja
new file mode 100644
index 00000000..b7a0d3ed
--- /dev/null
+++ b/fml/etc/defaults/directory.cf.ja
@@ -0,0 +1,7 @@
+=head1 Directories
+
+# $ml_home_dir is given from libexec/fmlwrapper.
+# ml_home_dir
+
+shared_db_dir = $ml_home_prefix/@@db@@
+
diff --git a/fml/etc/defaults/header.cf.ja b/fml/etc/defaults/header.cf.ja
index 741bb0e9..97b5d989 100644
--- a/fml/etc/defaults/header.cf.ja
+++ b/fml/etc/defaults/header.cf.ja
@@ -16,7 +16,6 @@ header_rewrite_rules = rewrite_subject_tag
add_fml_article_id
add_x_sequence
add_rfc2369
- add_ticket_tag
subject_tag_name = $ml_name
diff --git a/fml/etc/defaults/tickets.cf.ja b/fml/etc/defaults/tickets.cf.ja
index 8404f77e..c6a4c54c 100644
--- a/fml/etc/defaults/tickets.cf.ja
+++ b/fml/etc/defaults/tickets.cf.ja
@@ -2,11 +2,12 @@
### Section: Tickets / Trouble Tickets System
###
-#
+use_ticket = yes
+
ticket_model = toymodel
-#
ticket_subject_tag = [%s #%08d]
-#
ticket_sequence_file = $ml_home_dir/ticket.seq
+
+ticket_db_dir = $shared_db_dir/ticket/$mlname