Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated template seed to simply be done with template install.

  • Loading branch information...
commit 95cc77b23b3c8149e899631f75bdf541950d823d 1 parent ae3aa1c
@wayneeseguin wayneeseguin authored
Showing with 8 additions and 9 deletions.
  1. +5 −6 mongodb/bin/configure
  2. +3 −3 mongodb/bin/setup/init
View
11 mongodb/bin/configure
@@ -3,11 +3,10 @@
path create "${confd_path}/${extension}"
template install "mongodb/mongodb.conf" \
- to "${confd_path}/${extension}/${extension}.conf"
-
-template seed "${confd_path}/${extension}/${extension}.conf" \
- prefix_path "${sm_path}/pkg/active/bin" \
- data_path "${sm_db_path}" \
- log_path "${sm_log_path}" \
+ to "${confd_path}/${extension}/${extension}.conf" \
+ variables \
+ prefix_path "${sm_path}/pkg/active/bin" \
+ data_path "${sm_db_path}" \
+ log_path "${sm_log_path}" \
View
6 mongodb/bin/setup/init
@@ -1,8 +1,8 @@
#!/bin/sh
-template install "mongodb/init.d" to "${init_scripts_path}/${extension}"
-
-template seed "${init_scripts_path}/${extension}" \
+template install "mongodb/init.d" \
+ to "${init_scripts_path}/${extension}" \
+ variables \
sm_path "$sm_path"
files chmod a+x "${init_scripts_path}/${extension}"
Please sign in to comment.
Something went wrong with that request. Please try again.